US healthcare costs on the order of $3T per year.
The Iraq war cost about $2T over a decade.
You could have about 10% subsidized healthcare, which I would obviously argue is better than pointless war killing tons of people.
But you couldn't just "have healthcare".