I think this observation is correct. Modern pianos - much like speakers by the way - are often made to sound good at show rooms. In order to stand out of the pack they are made to be very loud and be overly bright. This may be impressive at first, but it's not ideal for the home environment and long term playing. Furthermore, modern pianos are often tuned according to a "linear" philosophy. This is a good thing in sound reproduction, but not necessarily in an acoustic instrument. What I mean by that is that the different registries - bass, mid, treble - are tuned to have a similar character - to be very clear and distinct. By contrast, the older philosophy was to tune the bass to be "fat"; and the mid and treble to be clean and clear. When using the piano as a solo instrument, this is arguably better. This way you get a warm feel from the fat bass, but you also get a sense of clarity and singing from the higher registries. This mimics an actual orchestra, where the different instruments have tonal characters which complement each other.
My favorite pianos are often older pianos which have been completely rebuilt and restored. I like the older tonal philosophy, and I must admit that I also really like playing on ivory (my apologies, all ye endangered ivory-carrying species of the world).
Btw, I agree with
@MRC01 that digital pianos don't sound or feel like acoustic pianos to me. I've played the piano daily since I was six. Some years ago I really wanted to think that the digitals were there, because it would make life so much easier. But after having lived with a digital piano for some years now, and tried out all of the high-end digitals, I have come to the sad conclusion that it's just not there yet. There are several reasons for this. First and foremost it's about the built-in speakers in the DPs themselves, which usually suck, and don't disperse sound the same way an acoustic piano does. Secondly it's about how an acoustic instrument responds to different combinations of speed, touch, chord progressions, input, etc. It's so complex that it's almost impossible to get right with sampling and digital input.
The closest I get to a real piano experience from playing digital pianos is actually not through sampling, but through a virtual modelled piano called Pianoteq.
https://www.pianoteq.com
I find that this modelled piano gets closer to how a real piano behaves than the sampled pianos do. I also prefer playing with headphones, because a) the internal speakers of all DPs are bad, b) using external monitors becomes artificial, somehow.
That said, there are people who don't feel this way, and think that DP's currently can rival acoustics. It may partly be about what one is used to, I think.
Ok, piano rant over!