I have spent a long time thinking about how to combine player freedom with engaging story without compromise. That has been generally regarded as an unsolved problem or something that would require artificial general intelligence.
I think it can be done, but it would take a lot of work with many years of incremental progress. The point is that I have patiently waited for that type of progress in games for the last 30 years and it seems I may have to do it myself.
I have collected a lot resources from people with similar ambitions. I think I have a solution but it consists of MANY interlocking components. I may do a proof of concept, but that would be something without any sort of graphics. But the goal of this is to show how it can be done in order to have more immersive open world adventure games with a completely dynamic system for story, characters and relationships.
I tried to explain some of this in a couple of blog posts here: https://blog.jonas.liljegren.org/systemic-story-game-development/