Learning to play the piano requires practice, knowledge of music theory, and an understanding of how to use the instrument's keys, pedals, and techniques. Some pieces of music may be more challenging or require specific techniques, but with dedication and practice, a pianist can learn to play a wide repertoire.
It's important to note that certain genres or types of music may be better suited for the piano than others. The piano is traditionally associated with classical music, jazz, and popular genres, but it can also be used for other styles like pop, rock, and electronic music.
Overall, while you can play any music you want on the piano, the ability to do so effectively and with proficiency depends on the pianist's skills and understanding of the instrument.