Yeah, 100%. I mean, if you're having a stressful day, you can escape from reality and play games, but if you play it too much or rely on it too much then it could be bad for your mental health, so it depends.
There's a fine line between that where gaming can be seen as improving your mental health but it could in fact just be like covering it up your issues.
Does gaming improve mental health? Hell yeah man! It stimulates the mind. Like really, it takes your mind off things. And sometimes people, you know, play games to not think about the hardships in life. Yeah, most definitely.