Yes, steam cleaning can be very effective in removing pet odors from carpets. The high temperature of the steam kills bacteria and microbes, which are often the source of unpleasant smells. Additionally, the deep cleaning process can remove pet urine and feces residues that contribute to the odors. For best results, it's advisable to use a steam cleaning service that specializes in pet odors, as they will have the necessary experience and solutions to tackle the problem effectively.