Part of the reason we have an obesity problem is that we center most if not all of our social activities, celebrations, holidays, heck, even funerals, around food.
After your surgery, you won't BE ABLE to eat through all of those days. At least for a good while. You will be restricted by the surgery alone. However, your head will tell you something different. After a period of time (it's different for everybody - maybe a year out), your new stomach will be able to take more. That's when it will become up to you. During the first year when you have good restriction is when you HAVE to change your eating habits and relationship with food. You MAY need counseling to do this. Lots of people do.
You SHOULD get to "real food" based on a phased eating plan your surgeon's office or nutritionist SHOULD provide.
You can do this, but only if you WANT to. Trust me, the surgery, at least for a time, will "train" you to how to eat. You will be able to enjoy food again, but in a different way and different types of food.
Hope this helps. Also, you may want to post or go check out the RNY board if that's the type of surgery you're having. There are boards for each type of surgery that have quite a bit of activity and support. Best wishes!!