If you have dietary restrictions, allergies, etc. (and my family and I do), you should still not leave in the middle of dinner and walk away. That is beyond incredibly rude. And just because you don't like your in-laws doesn't mean you shouldn't try to have a relationship with them. Life is complicated. I'd encourage a bit more charity and love.
But I'm guessing this piece is probably exaggerated and written to make a point/get all of us to comment. This belongs on r/amIanAsshole. Yes, you are.