This happens all the time. With long hours and constant time changes, most airlines allow controlled sleep periods when in the cruise.

There is always a routine - only one at a time, and advise...