I married a friend's ex(wife) a few decades ago. Seems like it might work out.
We started dating after the divorce was finalized. I never really talked to him about it, just figured divorce = fair game. Didn't affect our friendship any. They seem to behave themselves whenever we run into each other.