Some do, depending on what you play. Shooters may not offer much in the way of practical benefits, but constructive genres like strategy, puzzle, and building games can sharpen your thinking. Games that let you script—such as Minecraft with mods, Blockland, and Roblox—can even teach you coding, which is a real advantage if you aspire to become a game designer.
That said, not every platform is equally polished; some have rougher communities than others. The key is choosing games that engage your mind rather than just your reflexes.