If you do it yourself, why would you do it on a warm engine?
The clearances are specified for a cold engine and that for good reason.
Having said that, it will not hurt if the engine is still just slightly warm. After all that is what the dealer is doing if you bring your bike for service and wait while they are working on it.