I have direct experience managing a travel website with millions of pages, so I’ve seen this strategy up close. The big caveat: if you’re just creating thin pages with the country or city name swapped out, good luck. That approach doesn’t really work anymore.
It can still work, though, if you’re enriching those pages with useful, dynamic data through vendor APIs and genuinely tweaking parts of the content. For example, if your page is about activities or stays in a [city], and you can pull live data from platforms like Klook, Airbnb, or similar providers, then you may have a viable play..