Good thing Tesla is making huge battery packs for our homes so we can ditch the grid entirely.
But a mix of residential solar and utility-managed batteries could be viable; it's not clear to me that the economies of scale for large solar installations are very strong.
Utility companies aren't competing directly with each other for the lowest price, so in practice there could be a lot of places where, while less efficient, it's cheaper for home owners to have their own means of power production.