Once you start looking at the emissions incurred by transmission loss, extra "peak" power purchased from states like Nevada and Oregon this stupid fantasy of electric everything solving the world's problems sans dealing with the production side fades quickly.
"The new all-electric, single-family home has a lower net present cost than the new mixed-fuel home in every city we studied: Austin, TX; Boston, MA; Columbus, OH; Denver, CO; Minneapolis, MN; New York City, NY; and Seattle, WA."
"In every city we analyzed, a new all-electric, single-family home is less expensive than a new mixed-fuel home that relies on gas for cooking, space heating, and water heating. Net present cost savings over the 15-year period of study are as high as $6,800 in New York City, where the all-electric home also results in 81 percent lower carbon emissions over the mixed-fuel home."
Enough sunlight hits the Earth in an hour to power all of humanity for a year; electrification of everything is therefore quite reasonable.
For the vast majority of use cases, heat pump hot water heaters are a reasonable solution [2] (unless you've got enormous demand within a short window of time, our heat pump hot water heater holds ~80 gallons at 120F). There is of course still work to be done for use cases where boilers are superior (high rises), but that doesn't mean it isn't solvable. I'm aware of a lot of folks in row homes in Australia who are successfully using heat pump hot water heaters!
[1] https://www.google.com/search?q=load+shifting+water+heaters
[2] https://www.energy.gov/energysaver/water-heating/heat-pump-w...