I encourage you and your wife to find counseling. It would be entirely appropriate for your wife to insist on a temporary separation, with coming back being contingent upon good behavior, but I have serious doubts that would work in your case, as there seems to me there is a strong element of addiction involved.
If your wife wants to help you overcome this (and she is certainly entitled to not try), I think she needs to take control of the situation in a demanding way. I hope you can find the right counselor who can lead both of you to good decisions about the course of action and help you negotiate the contractual basis necessary to impose change.