Yes, this is available as a workspace setting, (email support@edusourced.com to enable this).
Once enabled, when creating or editing a project, there will be a Max Student Team Size field, pictured below. Set any per-project max team sizes then run Smart Match. Setting per-project max size will override any general max size for that project.