In theory yes, but in practice no. Energy generation is a taxable income, but the energy generation by solar panels in households is small-scale. This way, it doesn't reach the minimum tax treshold.