Depending on what food you mean, and what procedure you're having, a lot of food that got us all obese in the first place isn't on the post-op plan (for good reason). Some people who are in maintenance are able to pretty much eat normally (though still a balanced diet), but bypass and SADI folks especially need to be mindful of making nutritious choices due to the malabsorption factor. High carb, high sugar and high fat foods can also bring on dumping syndrome. Thankfully the surgery really helps a lot of folks with reigning in cravings, and bad food loses most of its allure.
As for coffee, I was offered it in the hospital along with my water and broth, whereas others are told never-ever. So it seems to depend on your surgeon's team.
Hopefully someone with experience with emotional eating issues can help you out there, and I'm sorry for your trauma. That's rough.