What exactly do you want to use as your avatar? An image you’ve uploaded yourself to your project?
Keep in mind: By default, WordPress uses data from Gravatar for avatars if the user’s email address is already registered there and an image is associated with it. Are you looking to override this feature, or do you want to continue using it? The latter would mean that new users would indeed use the Gravatar avatar instead of yours.
I tried to understand how avatar works in wordpress.
I tried to find any data like avatar or avatar_url in wp_usermeta and can’t found it.
After I go to wp source file of avatar_get_data and understood what they get data from “remote“.
The main question is solved
I wanted to know how avatar works on platform, to understand how to dev some option in future.
Now is a little clear – wordpress don’t have a local avatars meta/options by default