Many years ago, I bought a developing kit made by GAF/Ansco that used the same developer for both film and paper. I'm not sure what it was. When I went back to the camera store for more, the guy there recommended I use Dektol for both - at different dilutions. This was fairly common 40-years ago for photographers on very limited budgets.
Based on a thread I found on another site I tried developing Azo in Rodinal at 1:20. It worked, taking only slightly longer to develop than with Amidol. The results were far too contrasty for my taste, so I didn't really try to make a better print. I do think it would work if you tailored your negatives to the paper/developer combination.