Close, but no cigar. Sometimes the stuff in TEMP is actually needed, for example most installers decompress themselves into TEMP and then go about installing. If you nuked TEMP halfway through one of those installs, well... Bad things would happen. :)
With a little (above my head) scripting, you could maybe blast everything that's been there for over a week, or maybe just two or three days, that would probably be pretty safe.