Yes — sometimes. Which is a more honest answer than a flat yes or no.
Games reliably improve hand-eye coordination, spatial reasoning and the ability to track several things at once. Action games in particular have measurable effects on visual attention. Puzzle games help with pattern recognition. Games that require physical movement, like rhythm titles, provide genuine exercise.
The problems are almost always about quantity rather than content. Sleep lost to a late session, work or school displaced, and social life narrowed to a single activity — those are the real costs, and they come from how much you play rather than what you play.
Moderate play in a game you enjoy is fine and probably mildly beneficial. Heavy play at the expense of everything else is not, regardless of how good the game is. The "sometimes" is doing the work in the original one-word answer, and it turns out to be the correct qualifier.