Subject-To Mortgage: Legal in NYC?

Subject-To Mortgage: Legal in NYC?

Just wondering if this is legal in NYC or if anybody did a transaction where they used a subject-to mortgage financing?