Joke aside, by the rules, you will be able to have long rests before midnight again. Just not tomorrow.
So in D&D, if you go to bed too late, your next night might not finish a long rest if you have to get up early. You’ll have the benefit of a short rest, but not a long one.
In short in D&D...