Yes, and the honest answer is that nobody's hobby needs professional approval.
Medicine is long, emotionally heavy work. Having something absorbing to do at the end of a shift is not a lapse in dedication; it is how people stay functional over a career. Games also happen to be a fairly efficient way to switch off, because they occupy the hands and the attention at the same time.
There is a running conversation about whether action games sharpen hand-eye coordination and reaction time, which if anything makes the hobby look harmless. The only real caution is sleep: a "quick session" at 2 a.m. before an early ward round is a bad trade.