Yes, it is possible to sell surplus energy produced from photovoltaic panels. Depending on local regulations and conditions, you can use the so-called prosumer tariff system or connect the installation to the power grid as an independent producer.