I mean... Most vns are basically trying to replicate a cyoa with branching paths and multiple endings
Google "Choose Your Own Adventure." They were games in book form in the 80s. At the bottom of some pages would be like "If you choose to do A turn to page X, if you choose to do B turn to page Y."choose your own adventure? like path choosing?