Is chess a good game to fight against gambling addiction? I read a couple of poker books and I thought I could win, which was not the case.

Fortunately for me I have a decent chess level, 1930 in rapid, and I simply changed poker books for chess books and returned to the club. I have not lost a lot, but I realized if I don't win money why play something I enjoy less than my favourite game since I was a child.

As the game is helping me not to gamble, I wonder if it is documented from a medical point of view similar cases where chess helped.
I have seen plenty of people, who are addicted to chess, as it can become very time consuming if you take it seriously. So yes, it could easily help people swap an addiction that most would see as potentially more detrimental for one that is more healthy.