There are so many ways a rooftop solar installation investment can turn against you. If regulations change, your net metering goes away. If electricity prices drop, your ROI goes negative.
Rooftop solar is a fun enthusiast project, but it's a lousy use of solar panels. Community solar or utility solar projects are far better for homeowners. And for the environment.
The only reason people do it is that there are artificial incentives; it's not actually efficient in reality.