Sleep quality is decided by conditions rather than willpower. The factors you can actually control.
People usually try to set a bedtime, but falling asleep is not under voluntary control — waking is. Keeping a consistent wake time stabilises when sleepiness arrives at night.