Yep, pretty cool - it's a very popular tool in the "interactive fiction" genre of game development/writing. It's widely used for "choice-based IF" (also called "CYOA" after the Choose Your Own Adventure books), with the other main side of the genre being parser-based IF (like Colossal Cave and other PC text adventures from back in the day). Parser IF is often built with a tool called Inform, might also pique your interest.
Emily Short's blog is a good resource for that field in general: https://emshort.blog/ Or re tooling specifically: https://emshort.blog/how-to-play/writing-if/