Food is a hobby for me. I love to cook, trying new recipes and feeding people honestly keeps me happy. I balance that with my other love, working out. It's a fine line between the two and I use an app to track my calorie intake. I have the odd day off and don't 'ban' certain foods which just makes me want them even more, rather it's everything in moderation.
Like Dave said, it's important to find healthy foods that you like. Make those foods more accessible than junk foods. Whether that be not buying the junk foods if you're struggling with self control or hiding them or putting them or a higher or lower shelf.
Hummus and vege sticks, sweet and salty popcorn and nut/dried fruit selections, dark chocolate and green bananas are my go to snacks. Don't get me wrong, if I ate a lot of those things it wouldn't be healthy but between them they satisfy any cravings.
One final note, I've tried breaking the eating for boredom habit by drinking instead. Often times a glass of water distracts me enough plus a lot of the time hunger can be mistaken for thirst.