Is It Illegal for Someone to Buy You a Video Game?
No. Buying a video game as a gift is perfectly legal and common.
Why It's Legal
No law restricts gifting digital or physical goods.
Video games are legal products (rated by ESRB/PEGI, sold commercially).
First-sale doctrine allows resale/gifting of physical copies.
Digital gifting is supported by all major stores (Steam, Xbox, PlayStation, Nintendo, Epic, GOG, Humble Bundle).
Considerations (Not Legal Issues)
Age Ratings: Gifter should respect ESRB/PEGI (M/18+ for GTA, CoD, etc.). Parents may restrict.
Region Locks: Physical: PS3/PS4/PS5/Vita/3DS/Wii U/Switch are region-free (mostly). Digital: Account region must match store. Steam/Xbox allow cross-region gifting with price difference limits.