I guess we'll just throw containerized headless browsers at you those like you then. It'll only cost you more.
Unless headless browsers become cheap enough for that base cost to go to effectively zero too, of course, but I trust web bloat to continue pushing out that intersection point for a bit more.