No, all retail copies of Cyberpunk 2077 contain codes redeemable exclusively via a GOG account — either through the GOG GALAXY 2.0 app, or on the GOG.COM website.
Codes will not work on other platforms.
It’s also not possible to exchange them for a code for another platform.