First, it's a military rank: Captain - same as Colonel in the USMC, Army, & Airforce. No. While it is possible for a doctor to legitimately hold a higher rank than the ship's captain, the commanding officer is responsible for the vessel. And line officers always outrank special corps officers in terms of command.