Gambling addiction is one of the grounds for divorce if you married someone who intentionally hid his addiction and then you discovered that he is a compulsive gambler and he's been rehabilitated and still coming back to gamble you can file a divorce for betrayal of trust.
Gambling addiction is one of the major causes of family disputes and contributes to a loss of the family's wealth, so if you're thinking of raising a family be honest with your future partner and ask her to help you cure your addiction, if she turns away at least you found out her feeling is not really true to you.