not on the same scale, but on highschool once a kind teacher that really liked solar asked us (it was a technical school with electricity specialization) to calculate the cost of putting solar panel on her house so it'd have 24/7 solar powered electricity.
so solar + batieres + the cost of installing it all. She was a philosophy teacher, so she expected to be more expensive.
it turned out to be a disputatious amount more expensive, to the point that it'd have been cheaper to buy a new house after using it for 10 years levels of more expensive since Argentina didn't give any subsidies and we'd had had to import almost all of it. (so extra cost of tariff)
Solar surely must have improved ever since (we did that around 2010) but i doubt it became good enough even now xD