Surprisingly I was able to fall asleep right at my bedtime.
That sounds good, but did that affect your project deadline?
Yes, I was able to finish it before going to sleep which was great.
Sleep is so important for your health. You should try to sleep at other times so that you can get the work done that needs to be done.
My health is not a priority.
You really should prioritize your health, because if things get bad you won't be all the focus any attention to the project. Just as simple as moving things around to dedicate time to work and sleep.