If the US Navy has such concerns about women serving on submarines and all the occupational hazards mentioned, I’m sure they can pick up the phone and call NASA for suggestions. If women can orbit the planet on a spaceship, I’m sure cruising the undersea world in a sub won’t be a problem.
Some subs stay down months at a time....probably much longer that an astronaut circling the earth...