Is this normal????

Last week I was super sick so I was taking NyQuil every night. I’m not sick now and I’m feeling a lot better so haven’t taken any NyQuil but now, I have a hard time trying to go to sleep/sleeping. Is that like a normal thing? I usually pass out around 10pm but lately I’ve been staying up till the morning or when I eventually do fall asleep,I don’t sleep very well and I wake up groggy and still tired.