Yes briefly. Rich running fouls plugs and damages the catalytic converter.
What P0172 Means
The opposite of P0171, this code means the engine is getting too much fuel. The computer is pulling fuel back to compensate but cannot bring the mixture into spec. Usually caused by a dirty MAF, leaking injector, or stuck fuel pressure regulator.