In continental Europe, solar panels are *maybe* practicable in the south Iberian, Apenine, Balkan peninsula and in the Med. Running the numbers is required vs grid.
In “sunny” Germany they are expensive virtue signaling fenceposts.
If your goal is independence from the grid, and resilience then this is a based matter.