That's why something like 30% of Australian houses have solar.
That said, grid prices spiked recently. Both a combination of subsidies expiring, and fewer people buying grid power (because of solar) causing fixed costs to be shouldered by fewer people.
It should be pointed out that while electricity prices went up on paper, a lot of people aren't paying those higher prices because they are on solar!