I can testify first hand that gaming is hugely beneficial to my mental health.
It has helped support me through some very dark times including battles with cancer and depression.
When I am having a shit day, coming home and playing an hour or so of a good game is the best antidepressant there is.