Officially, no — Pet Society has no built-in cheat codes. Players who want to experiment have historically turned to third-party memory-editing tools such as Cheat Engine, which is available from cheatengine.org.
Be warned that using external tools against a live online game breaks its terms of service and can get your account suspended. If you value the pet and house you have built up, the risk is rarely worth it.