There's a reason we talk about the Space Race and not the International Geophysical Year. Popular and political support for the Apollo and predecessor programs were ultimately driven by the geopolitical goals, and once the Space Race had been "won," that support dwindled to the normal, pitiful scientific research levels. Spaceflight and space research reverted to just being yet another scientific field trying to catch a few drips of the governmental funding pipeline. It's the sad truth here.
This isn't to say that all science is driven by geopolitics. A lot of high-energy physics research isn't, for example (although supporters of the SCC did try to frame cancelling it thusly to try to preserve its funding, though they ultimately failed).
Retroactively misattributing human action to fulfill a moral narrative produces a distorted view of the world, conducive to making dangerously naive mistakes.
That the space program was a friendly front for a highly visible ICBM program doesn't negate the glorious achievement of reaching the moon.
Not everyone working on the space program particularly cared about missiles. I'm certain most of them probably just wanted to reach the moon in the spirit of patriotism and scientific advancement. Their victory was pure. We just shouldn't pretend that their project was only facilitated due to a confluence of circumstances that made it a political necessity.
Friedman, and Zeihan have both proven very prescient over the last decade or so.
Besides, I hardly think there's a lot of latitude for interpretation. As far back as 1958 the USAF was mulling over nuking the moon as a show of force with incidental scientific ramifications. Sagan was involved in it. [0]
I think willfully ignoring those parts of the story stretch credulity within the context where the events of the space race happened borders on historical revisionism for the sake of creating a moral parable about the virtues of human endeavor.
Is there any documentation of this?
Post-moon, human spaceflight programs seem to be have been largely directionless. The early space stations were probably originally meant as a stepping stone to developing orbital habitation, but the fact that we haven't really expanded much further makes it look more like faffing about. The US developed the space shuttle with the intention of building a low-cost, human-driven satellite launch and servicing service, but the only real success it had there was the Hubble. Instead, a lot of the real purpose probably lies more in geopolitical goals: the US-USSR cooperation helped drive some amount of detente. The ISS in particularly was driven in large part by a desire to keep ex-Soviet rocket engineers gainfully employed and not seek employment with rogue states looking to rapidly develop a missile program.