No, it isn't. PuTTY is almost completely composed of code written from scratch for PuTTY. As of 2026, PuTTY and OpenSSH have no code in common as far as I know.
(In the past, there has been at least one case of both tools sharing the same piece of third-party code, but not in up-to-date versions.)