Matching users to a group from a LDAP Attribute of a user

Hey Nextcloud friends,
is it possibel to match a nextcloud user group with an attribute of the ldap user?

For example there are LDAP users with the attribute “o=soccer”. So i create a group named “soccer” in nextcloud. Can I now match all LDAP users with the attribute “o=soccer” to the group “soccer”?

I know, that this is not the usal way to have groups in LDAP.

Thank you for your fine thoughts!