They're both mostly small, and there certainly are some of each that live in proximity in similar habitats in the wild, for example, damp forest leaf litter. Anyone ever seen it done in a zoo?
I can't seem to remember that I have seen a smaller exhibit for amphibians and rodents, but for a while the big South American dome in Randers Regnskov had red-eyed tree frogs and agoutis (can't remember the species) free-ranging with many other species. They don't have either species currently. I wouldn't wonder if other big tropical houses had tried something similar.
Burgers' Zoo has free-roaming whistling frogs, and they have capybara. Though I don't think this exhibit would be seen as the exhibit you're looking for To my knowledge there are no exhibits with just a rodent and a amphibian species.
no a rodent but if i rember corekly the desert house in Tiergarten Schonbrunn had round eared elefant shrews with some kind of toad wen i was ther in 2016