From a technical perspective, yes of course, however my client has a product with a closing date. At the time of purchase the client's customer is asked to fill in survey 1 and provide their closing date in one of the survey questions. I needed a way to send the invitation only after this closing date has occurred (run as a cron job on a weekly basis to check it), so I wrote the script with that in mind, as a way to accommodate their business process. Also, an administrator can re-run the user import manually using the CSV if there was a problem.
The administrator has disabled public write access.