Yes. High-quality games like Factorio or Machinarium are quite good fun. Also helps if a game is finite, not infinite. For example, while you can play Factorio endlessly, the rocket is the goal and it gets less fun once you've done all the things - which is good. You play it, you enjoy it, you move on. That kind of play is quite healthy.