rapture / rupture

“He wanted in a perfect rapture to avoid a rupture in relations with his wife.”
Is this sentence OK?
Could you make it perfect by re-phrasing?

It’s not a good sentence, because of the way you’ve tried to force use of ‘rature’. Aside fromn anything else, ‘to be in raptures’ is the idiomatic phrase.

Perhaps this would be better to serve your purpose in using both ‘rapture’ and ‘rupture’ in the same sentence.

He was in raptures when he managed to avoid a rupture in the relationship between his wife and himself.