A:Answer Yes, as long as Xbox Game Pass and Xbox Live are available in the country in which you're redeeming the codes. To see which countries they are available in, go here:
Xbox Game Pass: https://support.xbox.com/en-US/billing/xbox-subscriptions/xbox-game-pass-faq
Xbox Live: https://www.xbox.com/en-US/live/countries