You can if you are separately authorized by the NY City Taxi and Limousine Commission; but otherwise no.
Am I allowed to drop off a TNC passenger in NY City that I picked up outside the City if I am an authorized TNC driver?
Yes you are allowed.