Hi @Shamayel,
Thank you for posting your query on Microsoft Q&A. I am Saiteja from Q&A will be assisting you with your query.
Based on your query, I understand you would like to have sign up for specific audience.
In addition to @Alex Burlachenko I would like to add my points to make it easy with a different method.
Since you would like to have sign up for specific audience, you can create a custom attribute and import it to the user flow to restrict the sign up.
Here is the GitHub document to check if this can help you achieving your end goal: active-directory-node-b2c-user-flow-invitation-code.
Here is another possible way to send the email address as ID token hint which allows users to create their account: SignUp with email invitation
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment"