Ecommerce enabled for certain users

Hello,

I am hoping to create a way for certain users to have access to all content for free. Users who register with a specified domain can have access to all my content for free, while users who do not have that domain in their email address have to pay for the courses. Is there a way to set this up with openedx?