I am an Eating psychology Coach and I ended up doing this work because your question was always something that intrigued me. It sounds likely that for you food is either filling a need that isn't being met elsewhere in life or could be distracting from emotions or a stressful situation that you can't/don't want to deal with. It has nothing to do with being greedy or lacking self control and willpower.
On the 'need' front, we all have basic essential needs to be met - such as love, sex, spiritual satisfaction (for some people this could be as simple as regularly being outdoors in nature, it doesn't have to be religious), something to satisfy our creative side (whether we produce something ourselves - art, music, knitting, photography, or enjoy things that others create). Basically the things in our life that light us up, make us happy, soothed, very much ourself. Do you have things like this? Do you regularly do something that puts you in touch with your body? Doesn't have to be 'exercise' but some kind of enjoyable movement...
Re the stress or emotion, it could be something in your past (an unhappy childhood, abuse, an attack, a bereavement) that you never really processed, or something now that isn't right (work, relationship, self esteem or self identity after becoming a mum, maybe giving up work). Something is likely to be calling for attention.
Does anything here strike a chord?