I think if hundreds of millions of people were faced with unliveable conditions, they would be strongly incentivized to move themselves. Also, it would more likely be a migration that plays out over the span of, say, a generation.
In 2020 it was estimated that 55 million people were displaced due to climate and weather events, more than 3 times the number displaced by conflict and violence. So the mass migration is already well under way.