OF COURSE YOU CAN!!!!
I graduated med school at 42. Now PGY 2 surgery. There are a number of examples of people in any specalty who are older.
I don't understand why people always ask "can you do X if you are Y years old. There are very few professions where there is a rule that you can't do it beyond a certain age. There are NO rules or age requirements in any area of medicine.
You can do whatever you want as long as you are willing to. Surgery is more physically demanding than many other areas of medicine. If you are willing to deal with that fine. Go for it.
There will be some who will discourage you from trying. If you really want to do surgery, ignore those people. You can do whatever you want. You probably had people tell you that you shouldn't go to med school becuase of your age, but you ignored them, didn't you? Same thing here.
When you interview for residency, you will be asked multiple times, "How do you feel about taking orders from people who are older than you?" But that's the only thing I found on interivews. Your age should cause you to behave more maturely, which will be a huge advantage in your clinical years, so you should have great letters of recommendation.
I'd recommend making sure you work out and get in as good as shape as possible to help you make it through a surgery residency.
But othewise, quit worrrying about your age and just go for it. You are as young as you feel.