Currently, licenses can only be assigned to a User or Users by selecting them on the License Report.
There would be a long-term value in being able to automate license assignments via some type of rule (e.g. Department equals "Department Name", or Group equals "Group Name", etc.).