Cheating in exams isn't worth the risk
But with coursework I don't know if it is considered cheating, but more plagiarising, I normally read past examples and change some of the words around and emulate the structure, while interposing my own unique arguments in it somewhere
I think near-enough everyone does that anyway