The type of figurative language would be hyperbole because the sentence is an extreme exaggeration that conveys a point. Normally, someone wouldn't eat a horse, even if they were hungry, but "I'm so hungry I could eat a horse" conveys the fact that you are hungry.