have you ever asked a friend to stop talking to a guy you like or are with?

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?