According to my test, the existing graph
$filter query parameter cannot complete your context requirement, because the advanced query capabilities are currently not available for Azure AD B2C tenants.
I suggest you get the user collection and then filter locally.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.