Can deadhead in a regular seat on a passenger plane. Invite them in if needed only. Airlines won’t like the loss of a revenue seat.
The doors&locks are really good now. So good you can even lock out your co-pilot while they stop in the bathroom… (an argument in favour of having a 3rd deadheading pilot next to the others)