The short answer is cost, the panels and control system are expensive, though cost has fallen and the output has risen over the last few years.
Early solar panels needed strong sunlight, todays panels just need daylight.
Then there are two strategies, first the user can be looking to minimize their electricity bill.
Or they can be seeking to make money by generating electricity to sell to the supplier.
The real money spinner would be to charge batteries, and sell the electricity at peek times when the price is high.
Actually, it would be profitable to do this even if charging the batteries from the mains at off peek times.
In most areas planning permission is not required, listed buildings have to get permission.
The only other regulation I know of is the panels must not be more than 200 mm above the roof, all electrical regulations must be complied with, and the structural integrity of the roof must not be compromised.