I have some foods that I can't have in the house, because if they are here, I will eat them until they are all gone.
And that's like an addiction. Mostly they are carbohydrate foods, especially mixed with fats.
I've gotten so I can have some of these foods back in the house, although I have to portion them out ahead of time and restrict myself to a serving. An example is tortilla chips.
With others, notably ice cream, I may never be able to have it in the house again. That's OK. If I have to have it, I can go to an ice cream store and get an appropriate serving.
Jay