I am not sure if I understood you properly on this.
I guess you want to create users and add them to a batch.
bulk adding the students to batch is not available but you can add bulk users to a course, refer this tip:
https://wplms.io/support/knowledge-base/addingediting-bulk-users-in-a-course/
After bulk adding students to a course the users can enroll in any batch they want in the course.
PS: In the above tip if you add the user id which do not exists, then the system will create new users with that id and add them to the course.
Let me know if I misunderstood your query.