Thanks for posting this in the Canvas Community!
There is a way to import a CSV to create groups in Canvas courses. Assuming you are an admin and can do sis imports, you can format a group_categories.csv to create the group sets. You would then use a groups.csv to create the course level groups. You can also setup the memberships, if needed with a CSV. You would use the groups_membership.csv for that
Hopefully this helps!