I definitely do stress eating! Mindless eating, eating while unaware (EWU), etc...
I don't think you'll fall back into "old habits" because you're aware of what you did. Awareness is so important. Now that you are aware, the question is: how can you deal with it?
I deal with it by keeping unhealthy foods I will mindlessly eat out of the house. Cakes, pies, cookies, chips.... Of course, dh wants "goodies" which I buy in small quantities. If there are leftovers I try to send them with him to work or "hide" them. Out of sight = out of mind.
I keep stuff like baby carrots, grape tomatoes, fruits, raw spinach and lettuce around to graze on. If I feel the urge to graze, I make a huge bowl of lettuce. If I eat ALL of that and still want to graze, I eat some baby carrots and grape tomatoes. Crunchy & sweet.
I know that I will have these grazing urges.
So, I plan on having the right kinds of foods around to graze on!