I remember at one point Youtube had features for that, clickable elements in videos and someone turned that into a choose your own adventure style thing. There's a few productions on Netflix like that as well, and of course DVDs also promised that at the time.
But the interactive video thing never really took off.