Starter Kits. Probably. Framework ? Doubt it. RPG is so wide case, that you will have to make compromises and make your sample specific for your game. The best that can be achieved here is writing clear and simple code that is easy to dissect apart and build upon, for whoever is going to use it.
When you try to start generic, you will quickly learn, that complexity is growing exponentially without really any added benefits for game.