Paint inside of valve covers?

I do use a spray I get from an electric motor service to lightly seal my heads and rocker valley to seal the block.
It's called Big Red Insulator Spray Kote by EIS/HOLDEN. Use too much though and it can have a tendancy to not stick as well. Helps with oil drain back.

I've got a similar product called "Glyptal" that is the same as your product......Works great and racers have used it for decades