As I've said in previous posts about this issue, I believe Jesus's words in Matthew 5 were intended to prevent self-righteousness, not promote rigid thought policing.
He said that his yolk is a light one, and trying to block every sexual thought/urge/deed/tingle as a man felt pretty darn heavy.