Definitely. Even if you just focus on the economic cost of the human costs (lost income for anyone who dies in early 20s, disinvestment in Iraq/Afghanistan by local people due to fear they'll be robbed or killed, etc.), that's higher than the direct military cost.