NY has licensing laws. Exempt (from licensing) includes: banks, banking organizations licensed by the Superintendent of Banking, OCC, National banks, federsl savings banks federal S&L's, federal CU's, or any bank, trust company, etc. etc. Therefore, as a regulated institution authorized to make mortgage loans you can do it in NY.
I believe the information is in Section 39 of the NY Banking Regulations. However, for CRA, it may not be in your delineated community and heed WS's advice. There are some properties and regulations that are unique, and can cost you significant dollars if pricing is not done right. The foreclosure laws are harder and there will be some charges incurred that cannot be passed on to the borrower.
_________________________
Integrity. With it, nothing else matters. Without it, nothing else matters.