The Sims 3 is a good fit. With the right custom content from sites like Mod The Sims and the official Sims 3 site, you can put together a convincing medieval avatar and build the castle around them.
And if building it from scratch sounds like too much work, there is always the option of downloading a castle someone else has already made and dropping it straight into your game.