In moderation, playing video games can absolutely be a positive thing. Games can be a lot of fun, and many of them help you learn, sharpen your problem-solving, and improve your reflexes.
The key word is moderation—marathon sessions aren't a shortcut to a healthier brain, but balanced play can be both enjoyable and mentally stimulating.