Possibly. It depends on how old the wiring is. Modern-day electrical wiring does not use asbestos.
However, wiring that was installed prior to the early 1980s could have asbestos insulation.
Proceed with caution if you're working with or around older electrical components. Don't risk asbestos exposure, as it could cost you your life.