You can get a small STM32 with multiple multiplexed 12bit ADC channels, with ~2MSPS sampling speed and 256x hardware oversampling (~16bit), for less than half a buck (per 1000)[1].
Cheapest independent 12bit ADC with >500kSPS I could find on DigiKey were all over a buck (per 1000)[2], and they were all single-channel parts.
Now keep in mind that the ADC only does ADC, while the STM32G030 has several 16bit hardware timers and other peripherals.
[1]: https://www.digikey.com/product-detail/en/stmicroelectronics...
[2]: https://www.digikey.com/products/en/integrated-circuits-ics/...