To eat one's own hat; to consume a hat (a literal, usually hyperbolic or absurd action).
2.
United StatesUnited KingdomAustraliaCanadainformalhumorousidiomatic
To assert that one would do something absurd (figuratively, 'eat one's hat') in order to express strong disbelief or to indicate that a stated event or outcome is extremely unlikely.