It may be necessary, but I still can't stand doing it.
Not to mention when you are down about 80 feet its rather inconvenient to surface just to pee.
besides the pressure shrinks your bladder which make you go pee more.
Fish do it so it must be ok.