Well,
It may be a thing of the future... And with my knowledge, it would be possible now...
I don't see it happening as you are taking a simple mechanism and adding more variables to the mix. The main Achilles heal would be a reliable power source, while battery technology has made great strides, none will last long enough reliably. While you can power something with some certainty, it's not to the 100% needed for a personal firearm.
Two switches in series is still logic BTW, it's AND logic... I teach that as part of my motion control course... That being said, I wouldn't trust a firearm to anything electrical... Electronic controls have been my work for a long time.
I'm sure that no one wants a holster fire, LOL like those E/cig battery explosions