thats no surprise. of course you will go on a binge when you deprive your body of essential nutrients for so long. its not even really in your control. you body thinks HOLY FUCK! FOOD! this is the only time i get this so i must stock up on reserves for the bad times to come.
if you do not eat a minimum of calories that your body needs for organ function (based on your height, weight, age, activity level) your body WILL store fat and you will not only lose weight slower but you will also fall back into binges like these bc your body will simply crave food and it will crave it badly.
rather then doing this, why dont you start working out? if you eat healthy (and by that i mean eating lean proteins, low carb, lots of vegetables, drinking a fuckton of water. and not just eating one apple and calling that your meal of the day) and work out regularly, say 3-5 times a week, switch up between doing cardio and some weight lifting (this can be lifting your own body weight such as doing push ups, squats etc) the weight will fall right off!