It is possible to include the cohort column (this is the audience id) in the upload users csv file for the user. Providing the audience has the program included in the Enrolled Learning tab they would be enrolled in the program.
See Upload User documentation for more details
regards