https://www.britannica.com/dictionary/eat
I’ll eat my hat informal + old-fashioned
— used to say that something will not happen or cannot be true
- If he wins the election, I’ll eat my hat! [ =I don’t believe he has any chance to win the election]
https://news.yahoo.com/ex-doj-official-dishes-1-083246956.html
"I’ve never in my 20-plus years of practicing law seen a request anything like that, and I’ll eat my hat if Judge [Tanya] Chutkan accepts it,” Katyal said. “Because, look, justice delayed is justice denied.”