Yeah, I think this is doable. I recently did something very similar when I added the oldest first sorting. The only tricky bit would be getting the list of just moderated communities, but there is a function for that iirc.
Honestly, finding a spot for it the UI and making sure it's responsive might be trickier.