Yes, you can toilet train a pet rat by placing a litter box in their cage and consistently placing them in it after they eat or wake up. Rats are intelligent animals and can be trained to use a litter box similar to how you would train a cat. With patience and consistency, your pet rat can learn to use the litter box for their bathroom needs.