Sure, unless that bathroom is occupied by someone who had gastric issues before you did :).
The meta point: If you can't plan around a 30-minute window of no bathroom access, that biological restriction is a bigger concern than arriving at your destination quickly.