No, there's nothing illegal about someone buying a video game on your behalf. It's essentially just a gift.
In the United States, as long as a parent or guardian is okay with the game and it's age-appropriate, there's no problem at all. Gifting games is common and completely legal, so you're free to let a friend or family member pick one up for you.