The first couple days or week will feel pretty bad, but if you give yourself enough time then you'll shift your sleep schedule around. Now I get tired at 8:30pm and fall asleep at 9ish like clockwork. grad school me would have considered that insane considering I'm doing less work on average during the day. My day is just shifted now so that I do more stuff in the mornings and really relax in the afternoons, which is the opposite of before.
A key is actually giving yourself enough time to fall asleep. Most people think they can hop into bed and just get 8hrs, when you actually need to hop into bed around 30mins beforehand and really relax with a book or something.
I also think it's important to not stress about sleep a lot. Unless you're literally feeling miserable or have apnea, I think it's better to just let yourself relax if you wake up in the middle of the night. Sometimes I'll snap awake at 2am and just read for 2hrs, then get 2 more hours of sleep and generally feel fine.