Fwb question

I have a friend that I sleep with on occasion. We have the same group of friends and hang out occasionally. While we are hanging out together and I see someone cute or something is it wrong of me to flirt? To get their number or something in front of my friend with benefits? Or even bring someone along and make out or something idk?