It's horrible. I sympathise, OP, having battled with bingeing for years. It got out of control and I've recently lost 2 stone through a combination of calorie counting and breaking my addiction to sugar and UPFs (no semaglutide). Those habits had to go; if I hadn't broken them, the weight loss would have been an ultimate waste of time as once I'm no longer maintaining a strict calorie restriction, the weight will soon go back on. I'm still on this journey with another stone to lose, although the loss has slowed significantly and I've only lost 2 lbs in 4 months. I haven't rebounded or regained anything and the loss is continuing but at a far slower pace.
The bad news is that the only way you can stop doing this is by going cold turkey. Cut out all sugar. Ditch UPFs. Eat real food. At first it will be awful. You'll have cravings like you wouldn't believe. You might even get withdrawal symptoms. The first three days are the worst.
The good news is that if you stop eating this stuff, sooner or later you will stop wanting to. You'll feel better, your skin will feel better, you'll sleep better, and you'll taste other food better once your taste buds are no longer overtuned to sugar and refined carbohydrates.
If you start eating too much junk again, unfortunately the cravings will come back with a vengeance. Holidays and celebrations are bad for this. You have to stay on top of it. And if you know a particular food is a really bad trigger, it might be worth considering cutting it out on a long term basis. Potatoes in general are my weakness but crisps especially are the one food I know I can't eat in moderation, so I've had to stop eating them altogether.
It sounds a bore, but it's about establishing new, healthier habits to replace your old problematic relationship with food. And they do become habit, albeit you can't take your eye off the ball for too long.
Unfortunately the price of freedom from bingeing is eternal vigilance.