If the local climate can support going off-grid then batteries makes absolute sense.

The problem starts when you need the grid for some amount of the year or in periods over several years. As consumer we would like to pay 10% of an annual electrical bill if we can produce the remaining 90% ourself. The grid however want to have be paid for investments in power plants and transmission, and to them, costs associated with consumption is only one part of the bill. If the customer consume less energy, and the costs in infrastructure is the same or greater, then they will continue charge the consumer for the full year. In that scenario, you may only consume 10% but your bill will remain at close to 100%. As a consumer one could decide to go without those 10%, but that in itself can be dangerous or expensive, in which case paying 100% may still be rational.