Are there permanent hold items to give immunity to electric type attacks?
No. But if you hold the Cell Battery, your Attack increases when you get hit, you're not immune.
there is no permanent hold item there is just cell battery that raises ATTACK (i get them mixed up >.>) when hit by an electric move ONCE. You can also be a ground type. By using the moves conversion, and conversion 2 you can turn ground.