Good luck, you'll do great. After surgery you will be surprised and thrilled how little you'll care that you will choose NOT to eat all that old crap.
Your challenge once healed will not be "being able" to eat all that crap again. Your challenge will be "BEING ABLE TO" eat all that crap again and worse, learning how to eat around your surgery.
Surgery is not magic pixiedust. It only operates on your gut, you are responsible for getting your head right and in the game.
You can do this.