No.
The reason for this is because doing so will most likely serve to suffocate your PC’s intake, exhaust, or both.
Additionally, carpet is notorious as a surface for building up and transferring static electricity- which is the last thing you want to get inside your PC since electrostatic discharge (ESD) can damage your components.