Depends on the game tbh. Online PvP games are terrible for you because you are interacting with toxic scum all day most of the time. Isonzo has been a pleasant exception where the community is usually fairly nice. But most games it's awful.
I expect something like Factorio is pretty good for your brain.