The figurative language which is used in the sentence “Eden’s pet mouse chewed through its cage as if it were made from cheese” is Hyperbole. It means that the cage was made from cheese, so it was easy to escape.
Hyperbole is an exaggerated statement which is not meant to be taken literally. They add comic relief in the sentence. Hyperbole is not a comparison as in metaphor or simile but an overstatement which is not to be taken in literal sense.