The Alu PowerBooks are designed to run with the lid closed. You normally need an external keyboard and screen though.
A sleeping Mac only uses power to its RAM, in order to preserve its current state. Everything else is basically switched off. So a sleeping Mac definitely cannot play music, nor can it overheat.