there's 'electrical tape', then there's 3M Super33+ Electrical Tape. the generic stuff is junk even for electrical applications, it turns to crusty goo.
still, neither are what I'd want to use for rim tape. IF your rims are double wall, so the spoke nipples are down inside the holes, an alternative to rim tape are these little rubber plugs you put in each hole, like Veloplugs...