Presidents, who will pardon only federal crimes, are permitted to pardon Others, but there's no lawful precedent for any president pardoning himself.
I have testified in around a dozen trials as an expert witness https://mypresspage.com/story3140221/orange-county-criminal-lawyers-secrets