There is no universal code that unlocks the game. Myepets worked on a product model: you bought a physical Myepets pet, and the code printed inside that package was what granted access.
Without a purchased pet, there is nothing to redeem. Codes floating around online are tied to specific packs and are almost always already used, so buying the pet is the only reliable route in.