@georg There is a site setting you could select called selectable_avatars_enabled which let’s you predefine a list of avatars that users can select from.
selectable_avatars_enabled
If you enable this, users will automatically be assigned a random avatar:
More information about that feature here: