Have you had thyroid and other tests done eg re blood sugar/diabetes etc? Also when peri-menopause begins and hormones fluctuate dramatically, this can also affect appetite and blood sugar and lead to carb cravings at certain times.
I guess you just need to make sure that when your appetite is voracious you try to fill up on foods that won't put on weight ie low fat, low sugar, not processed foods, and reduce alcohol if need be. Try to limit your treats to small amounts - a taste of choc, a tiny bit of cake, a few crisps etc. Easier said than done - but hopefully might work?!
Hurdity x