I suspect conventional wisdom would suggest listening to one or more versions of a piece, especially if you are not familiar with it, so that you can see generally how it goes, what some interpretive differences might be, tempos used, how they did their trills, etc. But for inspiration, NOT to imitate.
Every person is different and you should try to develop your own personal style, that is "correct" given the music, of course.
Another thing to consider is that I have several recordings of "famous" people playing "famoius" pieces where they have ignored HUMONGOUS aspects of the music, like phrase markings, dynamics, etc. Don't imitate these for sure!