I don’t know what you mean by
assign them to one or more user groups
Is this an ACF field? What type of field? A user Role? A taxonomy? A post?
Unless you’re doing something special then it should be as easy as adding the field group to the WP registration form by setting the field group location rules.