I mean yes, but what’s genuinely problematic is the variability of the sun. Since it doesn’t shine at night, you have to store the energy generated during the day somehow. What about winter, especially in parts of the world where it lasts a very long time? How can we transfer the energy generated in, say, the Sahara desert, to Svalbard? Solar is great for generating electricity, but storage and transport of said energy is not complety resolved, yet.