I would at least suggest that if you are going to approach this as a DIY project at first, that you consider the idea that perhaps your issue is aggravated by having ready-to-eat food available to you at all hours of the night.
After all, all crimes are a product of “motive meets opportunity”.
If you woke up at 1:00 AM, and there was nothing but uncooked brown rice in the house, would you have the patience to wait 40 minutes for your rice to cook?
I spent a few months attending OA meetings, and many people in OA told stories such as yours, about getting up in the middle of the night to eat, or doing other extreme behaviors around overeating. These are patterns that generally resemble the patterns of a drug addict.
For example, a heroin addict experiences strong cravings for heroin. Does that necessarily mean that these sigals must be obeyed? Of ccourse not! But if a heroin addict keeps heroin in the house, then when the intense signals to seek heroin NOW arise in the body, what will the heroin addict likely do?
My point — and you are certainly free to do as you wish — is that keeping ready-to-eat food in the house at your most vulnerable times would generally seem to be a form of premeditation, whereby you are agreeing to engage in this food-addicted compulsion night after night.
If going a full hour without food is too much, then perhaps you start with only 45 minutes without food.
Perhaps you set a timer for 45 minutes, and see if you can last that long. Over time, you may want to lengthen this.
However, if you approach this by going to various psychiatrists, they will likely find things to prescribe to you, because drugs are the answer to everything, right?
I don’t truly believe there is anything biologically wrong with a person who exhibits compulsive behaviors around food. But it will take practice and dedication to extract oneself from the viscious circle of indulging in a compulsion, and noticing it growing in strength or maintaining its strength.
If you are going to try to extinguish a behavior, you know that it will take effort and practice. Mastery is not achieved overnight. But practice is the only way to strengthen new patterns.
Hope this helps. There are no easy answers, so the best you can do is practice with short sessions of doing non-caloric activities, with a food-free environment helping you to achieve short durations of surviving without indulging your compulsions.