Yes, the profile fields can be configured via our REST API. The parameter "userChooser" must be set for the corresponding profile field. Then the respective parameter will be displayed in the "Select User", "Mention" and "Share" dialog.
Here you will find an article about how to customize the profile fields.
Here you will find an article about how to customize the profile fields.