If you think you've "done everything" to lose weight, learn about hunger hormones
The brain isn't the only part of your body that could naturally cause you to eat more if you don't get enough sleep. Our bodies have hunger and fulfillment hormones, two of the most important being ghrelin and leptin, and without enough sleep, they won't be able to function properly.
Gherlin is responsible for informing your brain that it is time for you to eat, and when you lack sleep, your body produces excessive amounts of gherlin, meaning you will want to eat way more than usual. So, if you think you're doing everything right, yet you can't seem to lose weight, you might be beginning to understand how your body might be affecting your outcomes.
Leptin is essentially the opposite of gherlin, and it alerts your brain to when you are full and should stop eating. When you don't sleep enough, leptin levels drop, leading to why you might be eating much more when you're tired.
A lack of sleep also leads to spikes of cortisol, which is a stress hormone that can cause your body to conserve its energy in order to stay awake and work. While that might sound good, it means that you will be holding on to that pesky fat.