Only if the carpet underlayment is a breathable type. We've seen a parquet floor - in excellent condition and installed with modern parquet adhesive - being absolutely ruined by installing the wrong type (one that contained a DPM) of carpet underlayment. As if carpet fitters are not being told...