I've never thought substituting one addiction for another is a good idea.
I also never agreed with the drug Antabuse for alcoholism:
en.wikipedia.org
I also think so-called "weight loss surgery" is a horrible idea.
The problem with all these is the same: It fails to treat the root cause of the problem.
To get off of alcohol and drugs, the alcoholic/addict needs to make the decision to free himself of the addiction, and then do what's necessary to make the fundamental changes to his life that are necessary (people, places, and things that triggered the use of the substance, adopting new and healthy hobbies, making amends and reparations to those he's hurt, and, dare I say, faith in God to help cure the addiction).
Similarly, someone who's addicted to food needs to learn not to overeat, learn to choose healthier food options, learn the facts of how to maintain a healthy weight (calories in, calories out), and adopt regular exercise habits. Without all that, the person who is addicted to overeating will still crave the old lifestyle of overeating, will not be happy, and many still manage to find ways to get around the bariatric surgery, and get fat again.