Either you have it or you do not.
Could it be taught, or learnt? I sure hope so.
The the following definition is copied from online Merriam-Webster dictionary.
Definition of empathy
1: the action of understanding, being aware of, being sensitive to, and vicariously experiencing the feelings, thoughts, and experience of another of either the past or present without having the feelings, thoughts, and experience fully communicated in an objectively explicit manner; also : the capacity for this
2: the imaginative projection of a subjective state into an object so that the object appears to be infused with it