Yes
If you fail the written test or background checks, the DMV will issue a CDL that does not have a HazMat endorsement.
Is there anything that can disqualify me for a HazMat endorsement?
Yes, under federal law, the TSA of the Federal Transportation Safety Administration may disqualify you from being authorized to carry hazardous materials if