We need to know the story format. It's possible in all story formats, as, by default, the player's history of visited passages is tracked by the app.
Getting that information without having users self-report may be complicated, though. Since you'll need some way to collect that info and Twine apps are generally purely client-side.