I don’t have code related to your specific needs, but there is an example of accepting unique values for posts in my comment here https://support.advancedcustomfields.com/forums/topic/accept-only-unique-values/#post-45359
The only difference is that you’d use a user query instead of a post query.