Absolutely, although it's most common practice for 2-strokes such as the Rotaxes used on microlights. It keeps the lubricant around the engine, prevents internal corrosion, better starting next time, etc.
Of-course, the best thing is to make sure that the engine is run at-least every week or so - but occasionally that's impossible. During the Foot-and-Mouth headaches you'll have found many pilots lovingly rotating their props in hangars up and down the country.
Obviously, switches off, parking brake on, chocks in, and if it's a 2-stroke with the fuel switched on and the carb-bowl primed. And if it's an inverted 2-stroke, remove the spark plugs or they'll be utterly fouled by the next time you come to try and start the engine.
G