The Sprint missile could hit mach 10 from sea level in 5 seconds. But I think by the time it got that fast it would already have considerable altitude.
Anyway, the earliest patent I could find was a steam centripetal launcher in 1918. It never went anywhere and it has been followed by a number of improbable reinventions that all faded away.
NASA and the US Army tried again in 1982 and thought they could put a 60g projectile down range at 3 km/s. Mach 8. Guns and rockets could perform as well or better with simpler systems and the idea was shelved.
https://patents.google.com/patent/US1332992 https://ui.adsabs.harvard.edu/abs/1982ITM....18..209F/abstra...