As far as I know not a single one of the consoles blocks purchases based on IP address.
Plus if anything the Xbox One is the easiest to use in different regions since it allows you to change your account region on the console itself, no need to create different accounts for each region.
You can do it on the switch as well
The region of the console yes, but not your account's country. Of course, you can change the account's country on PC or mobile, but not on the console itself, which is what Ka-pi was talking about.