No, of course not! This is NY we’re talking about. ;)
FR posters say that if Trump wins in November he could pardon himself, but Presidents can’t pardon state convictions. So if the jury convicted Trump, appeal would be the only way. I don’t know of anything in the US Constitution that prohibits such a Looney Tunes law.