I understand the question perfectly.
Many of my friends, I guess due to similar tastes(?), are married to women I find both highly attractive and very admirable of character and personality.
I should also mention that most of my friends are ex-military, ex-cops, that sort of thing... and in many cases bloody damn dangerous men to cross, even for me.
So I have always been VERY careful to be polite and respectful, and to confine my expressions of affection or admiration to that which is proper and which THEY (both) are comfortable with. Both because I hold marriage sacrosanct and would loathe myself if I ever caused someone to violate their vows, as well as not wanting to end up in a kill-or-be-killed with one of my rather dangerous buddies.
So if there is hugging, I always let the buddy's wife be the first to reach, and otherwise I stand at least a pace apart from her and keep my gorram hands to myself.
If she's
really desirable in my eyes, I tend to address her formally as in "Miz Jolene" rather than just "Jolene" and bring out my "yes ma'am's" and "no-ma'am's" even if she is younger than me.
Now some of my buddies are perfectly aware that my inner caveman struggles not to covet their marvelous wives... which they mostly find amusing. One, however, actually told me that if anything ever happened to him, he wanted me to know I had the green light to pursue the widow.
That was both one of the most flattering and awkward things I think anyone has ever said to me.