Answer:
You could, they are both grammatically correct
Step-by-step explanation:
If I said "Es un pianista", I would use it for introducing him as a pianist, but if I said "Es pianista", I would use it for talking about someone that the person I am talking with already knows or I've already introduced to.