Well, the thing is that he is eating them because he is hungry,
Is he hungry though, or does he just think he’s hungry? I’d suggest it’s just habit, does exercise, feels dizzy as that’s what always happens, etas chocolate, stops feeling ‘dizzy’, magic chocolate has worked.
The whole thing is just a habit that can be stopped with a bit of rational thought and determination.
Oh and fasted riding works well for me which I usually do around March to get rid of the last remaining winter bulk.