I related very much to your struggle with guilt regarding food. It sounds like you use compensation techniques to control your eating habits, such as exercising immediately after eating. It's worth reading about compensation and the negative effects on BDD that it can have.
I have a pretty bad relationship with food too - when I start eating I feel like I'm out of control sometimes, and it makes me just want to jog for an hour or two to compensate. Compensation for me is all about control - I lose control to my food, I feel guilt, and I try to gain that control back by exercising. So therefore the key to mastering eating habits is not weight loss, as most think, but weight control. Here are some tips I've learned for gaining a sense of control, which may seem obvious, but they are integral to keeping a healthy mind and body, and they are all supported scientifically!
1. Keep a meal routine - eat at the same time every day, preferably breakfast, lunch, and dinner. If you snack, try to snack at the same time too.
2. Aim to walk 10000 steps a day. This will be impossible to achieve every day, so if you only have a few minutes of spare time, 15 minutes of jogging or HIIT is enough to keep in shape. Exercise should prioritise your mental health and wellbeing!
3. Don't be afraid to treat yourself with sugary snacks, but most of your snacking should be healthy grains, fruit, and yoghurt.
4. If eating meat, the majority of your plate should be vegies and salad.
5. Use your feet - stand up at least once an hour, take the stairs, stand up on the bus/train.
6. Drink plenty of water, treat sugary drinks like a snack.
7. Try to eat ~400g of fruit and vegetables every day (5 serves).
8. Most importantly, practice mindful eating - try to eat without distractions, and eat at a table. This will prevent absentminded eating and help you control how much you eat.
Eating your meals, avoiding compensating, and treating yourself when it's appropriate are the perfect ways to gain control over your mind and body. I hope this helps but no hard feelings if it doesn't!