How to calculate 'real-world' geometric height from ERA reanalysis data
If I understood the question right:
CDO can interpolate from model level to height level with the operator

ml2hl infile.nc outfile.nc

additionally, for the lower atmospheric levels, you can add an extrapolation option.
BUT I don't recommend it since its extrapolation performance is questionable.