Ibuprofin can be hard on the stomach lining and result in stomach bleeding and intestinal damage, especially when mixed with alcohol. Plus it can be hard on an empty stomach and plenty of people have trouble eating during a hangover due to nausea.
I take ibuprofen during a hangover now and then to help with the headaches, but it often just leaves me with an equally-bad painful stomach.