Yes, players owe nothing to flags and should chase the best shot at glory. Switching for a real World Cup run beats wasting talent on a weak squad.
That ruins the entire point of international sports. You represent your roots and fight for your actual nation, you don't just ring-chase like it's club football.