Yes, this is available in some regions, not all. Check out Google’s help center documentation the subject, there are 3 options’
Always record calls from unknown numbers.
Always record calls from selected contacts.
Record an individual call.
If call recording is available in your region, it’ll be accessible in your dialer app > three dots in the right > settings > call recording.
If you can’t see it, it’ll be due to your region not supporting the feature.