As long as your accommodation will allow you to rest properly and get the required sleep following your shift, you should be fine, in my non medical opinion.