I had heard many of my friends who are into gambling complain to me about gambling disorder ..
I am not a medical expert nor have I studied medicine. Based on what I read, this is a "gambling addiction/disorder". This has often happened everywhere related to various gambling addiction problems, maybe we can even find a rehabilitation place for gamblers.
In this condition, they usually cannot control themselves to continue playing gambling, emotions, and their addiction to gambling is excessive. Even they can't get away from gambling, even until they've lost many times they can't control themselves to stop. Even worse, they lost property, owed debt, and caused various other problems because of this gambling.
Maybe it would be better if they had entered the addicted or disorderor phase, they should start to do some treatment. Even though this might be difficult to do, it is not impossible.
Try checking the link here, there is some information related to treatments to treat gambling disorder both in rehabilitation and medical treatment. Indeed, there are several drugs that are specific to them, but of course this is not only limited to drugs such as antidepressants, Opioid Antagonists, Mood Stabilizers, and so on. It will but also need rehabilitation so that they are not only based on drugs as well but are really trained to let go or control it, both emotionally and socially.
Sources:
https://www.hindawi.com/journals/bmri/2014/537306/https://www.healthline.com/health/addiction/gambling