It's true that gambling addiction is almost the same as drug addiction, but the punishment doesn't seem to be the same, especially if you play gambling in a country that frees gambling, of course addicts won't be able to be severely punished because they play in countries that legalize gambling and have freedom. the only way is to let the addict go bankrupt so that he can more easily wake up from his addiction.
In place where gambling is legal there's no punishments if you turn into a gambling addicted person, what might happen is when you already suffer from too much addictions you may do things that is not usual, committing crimes just to please your gambling activities may take place, from that view, you can be punish and the government will be able to put you into a situation where you needed to face your charges, but if you are not into that far, professional help maybe the best solution together with your self-will.
What kind of punishments are you talking about? You mean you can get legal consequences for turning into an addict? I know that gambling in general isn't allowed in some countries, but where do they make a differentiation between addiction and normal gambling?
I guess someone who is seriously addicted and gambling away their financial existence really doesn't need any legal consequences on top of that. What should that even be? A financial penalty maybe?