If you avatars are in a path like https://example.com/avatar/username it’s possible in a site setting.