Yes, it's possible to switch from a gas water heater to an electric water heater. However, this may require modifications to the electrical system and plumbing, so it's best to consult with a professional before making the switch.