No, you cannot directly transfer an Xbox Live Gold / Game Pass Core subscription to a different Microsoft account.
Use Home Console Sharing on your primary console. Keep the old account for its library/history, use the new account for a fresh start, but both enjoy Gold on that box.