No—"heart of stone" is a metaphor.
The phrase directly equates the heart to stone—cold, unfeeling, hard—without using comparative words. That direct equation makes it a metaphor.