Imo it all depends of the preamp, dac's soundcard and the software you use to convert vinyl to digital. I had convert a few years ago some lps and old tapes to cds and some of them even sound better than the original analogue format.
Of course, there's nothing we as consumers can do to put back the dynamic range that was compressed out in the mastering process.
Some early CDs were badly mastered but by the mid to late 80s most recordings sounded awesome. It was just a matter of learning to record digitally. I regard this period as the zenith in music recording. Since then it has all been downhill.
And, it's ironic because the CD format allowed greater dynamic range than ever before, but commercial reasons drive producers to use only a small portion of its capability.
I wonder why Japanese pressings of cd's sound better. I thought the mastering process is applied through all regions?!