Sure. To an extent.
But they also recruit people and send them off to die for BS wars.
If you’re dead or seriously injured hard to be set up for a civilian career
99% of the military has a better chance of dying on the drive into work/base in places like San Diego and Norfolk than they do from anything military related. Unless you're referring to all of those YNs dying from papercuts (this is sarcasm) then I think there's plenty of opportunities in the military for people to elevate themselves, all the way to admiral in some cases, without risking life or limb.