Pool License API integration into app

I am using the Zoom API to add to my site, I have 10 licenses in total. 3 are assigned to permanent staff members and have 7 unassigned licenses. I have students that will be rotate internships at various times and do not want to keep assigning and unassigning the licenses to the new incoming students. Based on the nature of the work we do, students may be using the zooms at the same times which is why 1 master zoom account with one of the unassigned licenses would not be effective. We currently have 5 students so we have more licenses than we need. As this is the case, is there a way to integrate a pool license matrix to pull one of the 7 unassigned if a license is currently in use?