If you are getting game code, instead of gift cards, then this should be fine. It would still be better to have a separate JP account for logistics though, or in case Nintendo changes something in the future.
For gift cards, oji has explained the issue below. You get card for $10 and the game is of $9.99 so you are left with $0.01 and then can't change your region.