It is not just having an affair with some random person and using poor judgement. It is a person what was crafted with you as a target. The whole thing is weaponized.
I have never cheated in a relationship and it is not something I would ever consider. It is easy to say this though knowing I am not going to be the target of an intelligence agency honey pot.
I'm no expert on having affairs, but isn't secrecy key to the whole thing? At least secrecy from the spouse.
If you have no strong desire for secrecy, then is it even an affair at that point? Either the spouse tacitly supports the extramarital fornication, or the relationship is already in tatters.