Can you go home after the night shift, have a rest after dinner and go out for an hour?

If it's always this routine, it's no problem.

Just like working in the day shift in America, it is normal to exercise after work.

You can adjust your biological clock by yourself.