Alternatively I would use a callback to achieve this, but I was wondering if .LRN has this feature...
When bulk adding users via CSV upload, you can add them to a community but AFAIK there's no auto-join feature.