Can I play an electric guitar?

Yep. An electric guitar will not affect an ICD-not even if you demolish it on stage. Amplifiers, though, typically contain magnets, so keep a 6-inch distance between those speakers and your device.