you can read about this concept here: https://en.wikipedia.org/wiki/Heating_element
Electric water heaters and baseboard heaters are common, and extremely efficient. In fact, resistive heaters in the scientific sense (watts in vs. watts out) are the most efficient form of heating.
They're extremely reliable and cheap because of how simple they are.
They may not be _cost effective to run_ in many regions due to high cost of electricity (per watt as compared to gas). But here in BC Canada, resistive elements are extremely common due to relatively cheap power (Hydro in our case). For whole home heating, heat pumps are usually used in new builds because of their advantages, but they're still very tied to the grid and have elements in them for defrosting and the like.
If you scaled up nuclear you'd similarly see prices of electricity drop, and if you have the grid infrastructure (or build it), electric heating (for your home, water, cooking, whatever) becomes pretty attractive.
But I'm glad you've been convinced :)
Anyone using electric baseboards is getting highly subsidized electricity because any other energy source is cheaper.
Only place I saw baseboard heating was in school portables.
Electric heating is about the simplest machine you can possibly make (it's just NiCr wire and a thermostat which is already there), and the cost would almost exclusively be the labour of installation. Even heat pumps (including for water) could be built in relatively short order.
The problem is it would entail quadrupling the electricity generating and transmission infrastructure. This is the hard part that takes decades.
It’s something I’ve always wondered:
At night, it might be more cost effective to heat a bedroom electrically than an entire household with gas. But that’s a forced air heating issue: you can’t block 75% of a furnace’s airflow and expect it to keep working. Europe usually has boilers and radiators so dialing down heating to just a room is possible.
Or better yet, heat the person with a mattress pad instead of the building air at night.
Electric resistive heaters are 100% efficient - they convert 100% of the electricity into heat.
Electricity heating does produce a bunch of heat at other places though, and it all comes from work, whereas the gas could only produce maybe 70% as much work if used some other way.
Yes there are inefficiencies at generation and transportation. But I don't think those are usually counted when talking about the efficiency of a home device. And it certainly won't be enough to bring it down to 0%.
As an illustrative example, you could get the same heating effect by putting the electricity through a computer or other appliance, or by putting the gas through a heat engine to produce electricity which is used inside the home and warming the house with the waste heat.
I know about heating by computer because for the last several years I've heated my apartment solely by mining Ethereum on my computer. The only dedicated heaters that my apartment has are resistive electric heaters built into the walls, so it's better for me to get a little Ethereum plus heat than just heat.
You could frame it as fraction of the heating that is possible at carnot efficiency, I guess. Ie. the amount of heat you put into your room / the amount of heat you with a perfect machine could at typical temperature differentials.
Then an element would be about 10-15% efficient (as measured at the wall vs. an ideal heat pump) and gas would be...awkward to calculate (I'd have to open up a textbook if not just multiplying max COP and max thermal efficiency of a heat engine), but somewhere in the 20-30% efficient range. Electric including a thermal generator would be in the 8-10% range somewhere.
Electric heat pumps would be around 50-70% by this metric, or in the 25-40% range somewhere if using a thermal generator.
Thinking about it, I like this metric because it really highlights how much more wasteful burning gas to heat a home with electricity is if you're not using the waste heat for something. If you're not using renewable electricity, even heat pumps don't break even if they're not high quality and well maintained.
Really drives home the importance of insulation and good curtains in cold areas.
Edit: looking at absorption heat pumps, they seem to be a little better than my guesstimate. I think they outperform fossil fuel powered electric heat pumps.