Yes, installing your own solar panels in the UK is indeed legal. There are several regulations and requirements to be aware of, including having an MCS certification if you wish to sell your property with the panels installed. Thus, if you choose to install your own solar panels, make sure you do your research thoroughly first.