Not quite as easily as a rear mech isThey're still removable though.
I feel people are looking for problems here
I personally wouldn't ever want electric shifting on an MTB (orEMTB) but not for any of the bizzarre reasons you overthinkers are coming up with