The only problem with that is, in my experience and opinion, moderate difficulty encounters in 5E are just plain boring and hardly worth the time invested in them. Because of the way creatures are built in 5E, and the way that HP is the only real resource worth tracking, the kinds of relative CRs that make up medium encounters are either bags of hit points with very little likelihood of hurting a PC, or hordes of easy to dispatch minions. Neither one makes for memorable encounters. You can spice things up a little with terrain and active traps, of course, but once you start doing that you may as well just make it a Deadly set piece encounter everyone is going to be engaged with and remember fondly.