Cersei might do his work for him in this regard; if the High Sparrow ever actually follows through and pronounces Tyrion anathema, that might null out his marriage.
I was writing up Tyrion III and asearchoficeandfire spat out a quote from Tyrion IV that might be relevant here:
Good question! I’m not sure. It could be that he’ll get a septon to declare that Sansa didn’t freely consent to the marriage with Tyrion and therefore it wasn’t valid, it could be they’ll go with an Old Gods/New Gods thing, or could be some other dodge.
“Do I need to remind you that a marriage that has not been consummated can be set aside?“
"By the High Septon or a Council of Faith. Our present High Septon is a trained seal who barks prettily on command. Moon Boy is more like to annul my marriage than he is.”
Sansa may be able to have her marriage dissolved by proving herself virgo intacta…