Yes, well since we do it, it is a learned behavior. The question is more complex; was it learned as a result of direct teaching or was it self learned as a coping method for a bad situation or a inability to cope with some problem? Does that problem still exist?
So if my personality/attitude puts me into conflict with those around me, and I overeat to sooth myself, then I must learn to deal with those around me or I have no change of lasting recovery. So how does one learn to deal with people who are just wrong? An atheist living among the religious?
A grumpy wife?