You can't directly play as your pet, but at the bottom of the screen near the chat box there's a paw print icon. If you have pets, click it and pick the one you want to bring out—only one at a time. There are also special items that transform you into animals, such as Bark Chocolate or the Purple Frog Mask.