There is nothing in the rules that requires a World Cup team to be managed by someone born, raised or otherwise connected to that country. So should it matter?
source https://www.nytimes.com/2022/12/15/sports/world-cup/keeping-the-national-in-national-team-coach.html