Yes, exactly, I agree. I'd argue that's what the smaller, viable cities would fix: in Germany, big cities are equally expensive, but you can rent a very nice flat for 5-600 euros, in Erlangen, Nürnberg, Dortmund, Jena, etc. Spain has a lot of available space and great infrastructure, with fast trains and fiber internet everywhere. As a thought experiment, it would be pretty cool if Spain could create a digital city, in say, Teruel province, with brand new housing and high added value jobs, perhaps paired with lowered company taxes to attract companies settling. Perhaps it would also achieve nothing, I'm just brainstorming here.