I’m not 100% sure what you’re going for with text-based, but the first thing that comes to mind is Twine.
Nope, nothing comes to mind. I do a lot of my gamedev work in a TUI but that’s just because it works well for programming. Seems like a neat idea though.