Many years ago I did some experimentation with the idea of slapping a very crude "parser" (no AI involved, just extremely basic string matching) on top of a Lone Wolf CYOA book which was made public via Project Aon [0]. I wrote about it here [1], and the result is still playable here [2].
[0] https://www.projectaon.org/en/Main/Books