Today's higher-quality digital pianos offer a quality of sound and range of functions that can certainly inspire beginners and professionals.
In our experience, the only thing that still takes some getting used to is the touch. Weighted keyboards are now standard - however, these keyboards, even from leading manufacturers, are sometimes very unpleasant to play.
Nevertheless, it is possible to learn to play the piano well on a digital piano. Not everyone wants to or should become a concert pianist. As long as it's fun, it's fine.
A digital piano is not an acoustic, or more precisely, an analogue piano. The look, feel, sound and playing behaviour of an acoustic piano are still unique. Nevertheless, an acoustic piano needs more attention, i.e. maintaining the humidity (constant 50-65%), tuning 1-2 times a year with minor service work and major maintenance every 3-5 years. It also needs more space - and a climatically suitable location. Electronic systems also have their pitfalls - although the expected maintenance effort is significantly lower.
Quite a few of our customers have both in their homes. We naturally favour acoustic pianos. These are available in numerous designs and can be enhanced with a number of advantages if required, such as silent installation, self-playing mechanism, etc.