Yes. Hydrogen peroxide is an effective solution for cat pee. Mix it with some dish soap and spray it over the stain. Leave it for a few minutes then scrub it thoroughly. This should clean any old stains in your carpet.