I think they’re only viable if fitted along with battery storage and the ability to sell the power back to the grid. The best use case I’ve seen is the Tesla Powerwall and solar panels.
Solar panels on their own have never really been worth it in the long run. Especially if you factor in the environmental impact of production and disposal.
People seem to think that 8 panels on their roof will power the whole house, but the reality is that 8 panels can barely power the fridge.