Yes, you need a SSN to get a license in NY. They started requiring it about a decade ago to go after dead-beat dads. DMV then started to match the SSNs against the SSA to make sure that the number matched the name on file. Those licenses that didn’t were immediately revoked.
see post #32. you do not necessarily need a SS# to get a license in NYS. there is an exception.