This is documented here:
https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-configure-ad-ds-connector-account
The Set-ADSyncPasswordHashSyncPermissions
to configure the permissions has a -IncludeAdminSdHolders
parameter.
BUT this is not recommended to go ahead with that because ideally you do not want the on-prem admins to be synchronized in Azure AD. On-prem admins should be dedicated accounts for administration with no applications access. You want the Azure AD admins to be cloud only accounts: https://learn.microsoft.com/en-us/azure/active-directory/roles/security-planning#ensure-separate-user-accounts-and-mail-forwarding-for-global-administrator-accounts