Presidents, who can pardon only federal crimes, are permitted to pardon Others, but there is no legal precedent for just a president pardoning himself.
I have testified in above a dozen trials as a specialist witness https://firstcall1.com/knowledgebase-criminal-defense-lawyers-in-orange-county/