have you ever asked a friend who is being overly friendly with the guy your like or the person you are ina relationship with to stop talking to them?

have you ever asked a friend to stop talking to the person you like or your SO because it makes you jealous, mad, annoyed, or you don't like them being overly friendly or flirty? what are your opinions on it. do you think a true friend should stop talking to them or being overly friendly if you ask, or do you think it's not my place at all?