The risk of addiction is inevitable if we cannot be responsible in gambling, the desire to continue playing every time will only burden our minds and if we cannot control it then it will make us worse and make us miserable throughout life, The addiction felt by gamblers today actually started from the idle and fun activities that we did before but some people can actually avoid it if they stick to the principle of seeing gambling as entertainment, I personally have several friends who even look very miserable now after they spent a lot of their property in gambling, it was their experience that made me try hard not to be actively involved in gambling all this time.
What you describe is exactly what happens when a person is suffering from an addiction, but what they should do is something very simple, but they have to assume it with responsibility, maturity and above all discipline. In these cases, the person knows that they are not capable of controlling their emotions or their impulses, that is clear, to achieve this they have to do it from a higher place than their feelings and all these impulses, and that is money.
Without money there is no game, there is no fun, there is no party, so it costs nothing to allocate a balance willing to lose, and when you lose it, have enough conviction and discipline to not gamble anymore, that is how everything is controlled, I say this from my own experience.