Can general contractors do electrical work?

Can general contractors perform electrical work legally?

Yes, if licensed; varies by state laws and regulations.