Yes and consider this if the Apollo program wasn't canned and the money diverted to other programs such as the shuttle and ISS we'd have a working colony on the moon by now.
STS-1 was the first orbital flight of the
space shuttle program, launched on April 12, 1981, and returning to Earth April 14. It was the first US manned orbital space flight since the
Apollo-Soyuz Test Project on July 15, 1975, a 6 year hiatus.
The total cost of the shuttle program has been $145 billion
USD as of early 2005, and is estimated to be $174 billion when the shuttle retires in 2010.
The most cited figure of an overall cost estimate for the ISS ranges from 35 billion to 100 billion
USD retiring in 2016.
For similar expense an O'Niell cylinder could have been constructed capable of housing a million people.
The Vietnam War ended up costing the US around $584 billion
The cost of the Iraq war, up to March 2008 (under estimated) has been half a trillion dollars. The most pessimistic projections estimate the final cost of Iraq at around 1 trillion or 1/5 cost of WWII.
Estimated costs of Afghan and Iraq wars
http://www.infoplease.com/ipa/A0933935.html