Yes, however the cost of a viaduct is largely dependent on the height required. The Alasca pipeline came in around 1.2 million per mile dispite vary harsh conditions but it was also rather low to the ground.
Trains often need viaducts due to those restrictions but a multi span footbridge over a swamp is a viaduct as is the Disney monorail. My point is simply elevating a span is not that expencive. However, as you say high speed rail needs a vary flat track so cost estimates need to look at the actual path vs just saying 5m/km is rediculus without any justification.