What are some existing authoring systems that exist for this sort of thing? I know Ren’Py exists for visual novels
For choice based text games there is Twine and ink (plus many others).
I personally used ink[0] for a project[1] and it was a joy to use. It comes with an IDE of sorts that makes just sitting down and writing your story easy before you add the bells and whistles.