The same way anyone gets good at anything - practice it. This may sound crazy but don't write it off. Go into bed during the day for 1 minute and don't fall asleep. Set an alarm and when it goes off, get out of bed. Repeat 5-10 times a day for a few weeks and getting out of bed when your alarm goes off will become habit.
Morning habits are important because when people wake up in the morning they are extremely tired which impairs their cognition and willpower, which often leads to bad decisions like the snooze button.