After reading the whole story, I just churkle because I remembered what my grandma used to say to me: "Too much of everything is abuse." and the reason for her saying that to me was after I consumed a large amount of milk and began to vomit and Stooling, I totally fell sick and was hospitalised for almost a week. In relation to what I just said and about your narration and gambling, I would say that too much of everything is abuse. Food can be abused, drugs can be abused, positions can be abused, and many other things can be abused, and there are mostly some of them that you can't do anything about, no matter how hard you try. Can you ask someone who doesn't have a job to stop gambling? Yes, you can, but they will not stop because they are using it as a means of earning income. Although it still also depends on the individual, like I said before, I know of someone who is fully into gambling but is still paying his bills and taking care of his home, but with some other gamblers, it's usually the opposite.
Well, I think the context of the subject here is a bit different than what you described, we all know that excessive use of something is harmful to a person, whether it's abusing that thing or not, it's definitely not good for your own self, so when you do something that isn't good for yourself, you are not lawfully punishable for that since you are already punishing yourself by doing that, and that is exactly what is wrong with the point OP is trying to make.
When a person is using gambling as a way to earn money and losing all their money and stuff, there is no law that can ask them to stop, unless the constitutions of that country have a rule for it because the person is not abusing the casino as they are doing their business and a person gambling excessively is not an abuse to their business, so I don't see why a person should be punishable for doing that.