It is not artistic liberty, neither slang or whatever. You may absolutely grammatically correctly say: Мое сердце болит. Well, it is a little bit elevated, poetic as it were, but, nevertheless, quite...