It needed to, Starfleet is based on US/GB naval operations.
Looks like Starfleet split the duties between the Chief Engineer and Chief Science Officer during the TOS timeframe. I doubt that the US/GB navy's sent the Captain of a capital ship on shore missions either. There are differences.