I've heard it said that to kick an addiction, you have to achieve a mental change where you stop wanting the thing you're addicted to. Consider someone who is addicted to overeating. He could go on a fast for a while, as long as he has the willpower, but eventually the willpower is going to run out and he's going to cheat. By contrast, if he were to make a positive decision to become an athlete, or a bodybuilder or model or something, he would be able to control his diet not as a strenuous act of self-deprivation but because he now sees himself differently, as someone with a mission, and snacking starts to seem really irritating to him.
So my unsolicited advice is that you need to come up with a way to see yourself differently. Maybe as a man of faith. Maybe as a mountain climber or something. Consider giving yourself a mission that will get you the heck out of your apartment and take up all your free time, so that your addiction becomes an annoyance that you won't want to bother with.
And good luck!