Variant-specific vaccines would undoubtedly increase immunity. But waves of new variants would engulf the population faster than these vaccines could ever be deployed.
Given the Omicron variant has already spread beyond southern Africa, a ban on travellers from those countries will slow the spread and buy crucial time, but won’t stop this strain in its tracks.