No, Uchiha and Senju genes are necessary to use Izanagi, not the Rinnegan.
Rinnegan plus senju & Uchiha DNA.
I don't think that Nagato could use Izanagi at all because he didn't have Uchiha DNA.
Rinnegan plus senju & Uchiha DNA.
I don't think that Nagato could use Izanagi at all because he didn't have Uchiha DNA.