Can you ask a girl out if she’s just starting to see someone?

Met this girl and we seemed to vibe but she was with this guy and I wasn’t sure if they were dating. But on the way home my friends were talking about how they just started seeing each other

Updates
1 y
Only thinking maybe because they don’t seem very close is all but I also look at it this way if there together I can always meet people through them to. Like other girls
Can you ask a girl out if she’s just starting to see someone?
Post Opinion