"Given you'd be taking future actions first which would have been influenced by past actions you hadn't taken yet, I don't see how it'd be possible"
This is a case of effect before cause. I believe it could be done, but the author would have to keep track of which divergent ending the player chose to start with. Off the top of my head, using variables and a few finite state machines could potentially keep track and directly influence character/story states. However, a lot of railroading would probably need to happen. But I can see it as possible. Improbable anyone would take the time to do it, but possible.