A majority of the Star Trek rpgs and sims have some sort of Marine Corps equivalent for practicality. These of course are fan creations, but it does set a trend of what fans expect.
Starfleet is a military organization, however loose and whatever other purposes they serve. Even the most utopian definition of Starfleet states one of their purposes is defense. If they don't have a trained ground combat unit, they are stupid.