Can a new wood floor go over an uneven subfloor?

A timber floor can sometimes be installed over a subfloor that is not perfectly flat, but only within limits. The real question is whether the base is stable, dry and prepared properly before fitting begins.
Why Subfloor Preparation Decides Whether a Wood Floor Succeeds or Fails

A timber floor can only perform as well as what sits beneath it. Moisture, flatness, strength and old coverings all affect how wood flooring, parquet and herringbone behave after installation.