I wanted to know if a concept like this below was possible:

We are a non-profit who will have selling a movie we made online shortly.

We would like to make a donation page where if a person donates $100, they will be given five special access codes that can then be sent to their friends e-mails. Their friends will then input the special access code on a website in order to watch the streaming movie. The special access code will be active for 45 days.

Does anyone have any examples of other companies doing this or any directions on if this is even possible/first steps to take?

Many thanks!