Here's one idea, based on the very loose model of domain management described by Gary Gygax in OD&D and AD&D1, but adapted to the 5e rules

What do the Players Do?

What do the DM's Do?

The main thing to do is get a functional economy system working: need to square the Building and Maintenance costs from the DMG with some individual improvements and figure out what the income per inhabitant and advantages of individual improvements.

Using 5e rules, most of the building and mapping of the fortress design will fall on the DM's, unlike the previous editions, but let's face it, you and I would end up doing it all anyway.

The other thing we would need to handle would be underlings. 5e is just not focused on that. While “commoners” and “guards” should be common enough; how many “veterans” or “knights” would be available to hire? How much do hirelings get paid? Those are the kinds of problems.