"No, don't! Electrical tape is too thick and in a very SHORT time it would gum up, leave residue and unravel. This is accelerated with temperate..."
I've never had any luck with plastic electrical tape on ordinary wiring for those same reasons. If I have to use it I then wrap it in duct tape to keep it on.
LOL! In my experience duct tape's adhesive is even worse than electrical tape! Talking about oozing after few months - duct tape is the worst!
If you buy good quality electrical tape it is not only soft and stretchable, but the adhesive is also stable. I use the 3M brand. But as it has been said, electrical tape has no place inside N scale locomotives.
I have used capton tape to protect gold fingers on printed circuit boards when sending them through wave solder machine. Both the Poliamide and the silicone adhesive is resistant to high temperatures. That was years before we started using it in DCC installes.