Gaming is genuinely fun, and nobody is suggesting you give it up. But the "your eyes will go square" speech parents give does have a real point buried in it.
The problems come from volume, not from the games themselves. Sitting in the same room for hours on end means less movement, and that adds up — fitness slips, sleep gets squeezed, and the casual social contact you'd get by going out thins out too. None of it happens from an evening with a controller; all of it happens from every evening.
The fix is boring and effective: keep playing, just cap it. Stand up between sessions, get outside occasionally, and talk to people who aren't on your friends list.