This is the first of many "It's all related" posts. This article from healthfinder.gov describes how poor sleep can make junk food more appealing.
Junk Food More Appealing When You're Sleepy: Study
Sleep-deprived snackers are less likely to make good choices, brain studies show.
Look forward to a lot of these items that show that good or bad food choices, sleep patterns, an active lifestyle, and lifting weights are all interrelated. Making any progress in one area is going to be incredibly difficult if you are being held back in another.