Andrew Plotkin, featured in this submission, wrote the Quixe interpreter [0] for this purpose, which is bundled into Inform 7.
The Interactive Fiction Database [1] has—again, for years—an instant "Play Online" button on the listing of any supported game, powered by Parchment [2], which is even older than Quixe.
You must not have checked very thoroughly.
[0] https://eblong.com/zarf/glulx/quixe/
Parchment seems to work well for Z machine games: http://iplayif.com/?story=http%3A%2F%2Fwww.ifarchive.org%2Fi...
And Choice of Games has been successfully charging for their choice-based IF games for years (successfully enough that they're considered a professional market for writers by the SFWA).[1] Their games are playable on the web, but they also distribute apps for iOS and Android.
[0] https://www.springthing.net/2019/play.html [1] https://www.choiceofgames.com/
You can play them all here: https://clickventures.clickhole.com/
And Wired did a piece a few years back about how the Clickhole team originally developed the idea: https://www.wired.com/2016/03/clickhole-adventure-games/
Socratic Monographs are basically longform articles and goes deep into a subject but the way they do it through conversations. It may enable people to engage more with a subject deeply rather than skimming.
Happy to see there are people who want better IF tools.
No one's going to pay for text-based IF games and no one wants to install software to play them. The web is the ideal delivery channel for the medium, but no one seems interested in making good publishing tools for it.
(To be clear, I’m not saying it isn't possible, just that the tools for doing so are fiddly and ugly.)