You can stop feeling guilty about what you eat once you improve your relationship with food. This has a lot more to do with how and why you eat and less to do with what you eat.
Improving this relationship will take work. It means allowing yourself to to eat and eating when you are hungry. It also means being mindful about what you eat, allowing yourself to eat “bad” foods and not justifying your food choices.
Learn more about how to improve your relationship with food at https://www.healthline.com/nutrition/fixing-a-bad-relationship-with-food