Hello,
Yes for sure, if you're using computer certificate, the certificate should have the name of the computer.
Put your active directory as a source of Authentication and then create a role mapping for your service which will query the Active Directory to check multiple thinks like : if the computer is trusted, if the computer is still active, etc.
Please find an example in the screenshot.