According to this MIT study, the cost (LCOE) of doing this today, would be $3000/MWH:
https://www.greencarcongress.com/2021/08/20210829-mitei.html
Even if the cost of batteries continue to come down by x4 in price every decade from now on, it will take 30-40 years for prices to come below current energy prices.
If we hit an S-curve before then, it could take much longer.
Generally keeping houses warm with low evergy is solved, well insulated passive houses need little heating energy even in places with long cold winters.
https://www.sciencedirect.com/science/article/abs/pii/S03062...
(probably paywalled)
> Generally keeping houses warm with low evergy is solved, well insulated passive houses need little heating energy even in places with long cold winters.
What is your definition of "places with long cold winters" and how much energy do you think it takes (kwh) to heat a house in such climates during winter?
In practice it seems going much lower than half as much as hot water uses may be wasteful investment as long as water is not heated with local renewables.
Tearing down all old houses and building new ones is obviously not an alternative, so a transition to new standards is likely to take 50 years or more, even though some of the benefit can be realized by modernizing existing housing.
But even $30000-€50000 euros to lower energy consumption is also a big investment for many families, and even WITH that investment, heating prices in Norway and Sweden will be 2-3x historic prices if prices stabilize at current levels, especially if the governments stop subsidies.
I think every country will have trouble bringing their population to accept having to use electricity at prices about €0.1/kwh, even if over a very long term, it is possible to build houses (at extra costs) that bring the consumption down a bit. At such prices, people in Germany, Denmark, Poland, Hungary etc will simply continue burning natural gas indefinitely.