J'ai mal au cœur.

can this mean both heartbroken and queasy (nauseaus)?

I think it’s an idiom referring to nausea.

There’s some discussion on it at Duolingo: