The same thing happened to me just a few months ago. I was in a really stressful relationship and I was overeating, sleeping constantly, and missing my period. Over eating and sleeping are symptoms of depression, so i went to the doctor and It ended up being hormonal and I was considered mildly depressed, so I guess it could be that. But you should still go to a doctor

Over eating and sleeping are symptoms of depression.