Oh, sure you can. But that requires honesty. There are plenty of couples who are happy with 'open marriages'. Meaning that it is agreed, between them, that each can go outside the marriage for sexual encounters. Sex isn't a huge deal to many people. There are usually agreed conditions, such as being sexually safe, and discreet, but the point is that couples do this.
Any argument that someone would cheat and not tell their spouse to 'protect them' is just full of shit & deluding themselves. There are alternatives, they are just too lazy and selfish to try them.
Second thoughts can generally be amended with judicious action; injudicious actions can seldom be recovered with second thoughts.
--Cyteen by C.J.Cherryh