Can't speak for OP, but my appetite and then weight have steadily decreased for six years since beginning CPAP. As a person with apnea I had no idea that my constant fatigue was causing me to eat so much, or making sustained exercise so impossible, and I really didn't even understand how tired I was. Once I was getting something approximating a good night's sleep, I had more energy, which made me less hungry and more able to sustain exercise. So it was a virtuous cycle and involved the habits you're describing, but those were made possible by alleviating the underlying problem.
Did an overnight study at a sleep clinic. I'd been told for years by friends that I made very weird gasping, snoring noises. After I'd been out of college a few years and realized I was fatigued literally every day despite going to sleep on time, I figured it was time to get checked.