I'm sorry you are finding yourself here.
My husband is a recovering SA.
We had discovery, and then he had 3 years of sobriety.
He mostly "did the work." therapy, homework, reading, was attentive and all that. (I call it recovery v1)
In DH's case
1) he didn't work through the shame and
2) he hadn't yet surrendered to the fact that he is an addict.
#2, in particular, I was like, really? I mean, come one.
So, as you can imagine, he started slipping/relapsing.
For 7ish years.
And lied to me about it.
So. He's been sober for 6 years now. (I call it recovery v2).
It wasn't until year 5 of recovery v2 that I thought I could trust him. So, yes, the intrusive thoughts don't present themselves all that much anymore.
They got bad during recovery v2, when I was processing during the angry phase. I actually don't even get angry until year two starts. That was bad, because I was processing not only what happened before recovery v1, but also recoveryv2.
I won't purposefully risk putting myself in a potentially triggering situation though. DD1 offered to see the barbie movie with me. The female actress is totally someone DH would have fantasized about. It doesn't make sense for me to pay to stew. So I declined.
We'll be lucky if half hour marriage, DH was sober in it.
It's also his thing. I have to go out and find my own happiness, regardless of what behaviors my husband chooses.
That doesn't preclude a thought of "oh, I'm DH would have liked to have done her" when I'm snarky. And it's a thought. I have lots of snarky thoughts, and I don't really let them derail me.
Marriage is what you make of it.
You can define the terms of your marriage.
You can say when enough is enough.