Interesting option. It's all about the cost and efficiencies in the end. Converting electricity into heat and then back into electricity is a lossy process that is constrained by the second law of thermodynamics. Basically generating heat is easy and efficient. But converting it back to electricity is typically less than 50% efficient. Basically, it's several energy conversions in one process: you use electricity to…
It's generally much much worse than 50%. Say that you used a resistor to heat the water in a (perfectly insulated) boiler and want to know how much useful work you can extract from it, ideally. The answer is given by the exergy efficiency, which can be computed by attaching an imaginary heat engine to it, integrating the infinitesimal works δW = δQ⋅η_Carnot while the temperature drops from the initial T_boiler to T_ambient and dividing by the internal energy of the boiler.
The result is η_exergy = 1 - T_ambient/T_lmtd where
T_lmtd = (T_boiler - T_ambient)/log(T_boiler/T_ambient)
is the logarithmic mean temperature difference. Even heating water to 90°C
gives an efficiency of only 9%.