Indeed. If illegals show up at MVD with a consular card from Mexico as their form of ID, they can get a drivers license. Then they can go to another state and use their NM license to get a legal license (though some states will not recognize licenses from NM without a birth certificate).
My NM license got turned down here in AZ...luckily my old AZ license was still in the system.