Yes, for Autoenrollment to be enabled, you need to have several things configured.
- A Certificate template with "Server Authentication"
- Configure security and enable AutoEnroll for the required computer account (or Domain Computers)
- Configure Group Policy and enable the following parameters:
In Group Policy Management
And enable the following settings