I certainly don't see anything wrong with listening to a performance first, then deciding to try the piece myself. If I followed the rule of not playing things I had listened to first there isn't much out there that I could play!
When one does listen to someone else's performance, though, it is very much worthwhile thinking about just what they are trying to say with their performance. Then, why you do learn the piece, you need to think about what you are trying to say with it. If your interpretation is different from some recorded version, so be it -- so long as you know what your are doing and trying to say. Keep in mind that the objective of the exercise isn't to copy so and so's brilliant technique, but to find your own voice. Otherwise it becomes a mere technical exercise -- and why bother?