When i built transformers back in tech-college, we dipped them in 'Enamel', which was nothing more than CLEAR Enamel paint....
If heat is a concern, maybe there's some high-temperature graded paint, like a Clearcoat Enamel for Car Engines/Hot Rods etc....
MM.