Is it prohibited to learn and play the piano as a hobby and not for musical purposes?
It is not permissible to play the piano with tunes that are suitable for gatherings of amusement, meaning to play it in a way that can be regarded as or associated with ghina or singing by the common view (urf). Therefore, if the piano is played with tunes that are not such then there is no problem in playing it.