You have many questions and unfortunately not given enough information. Why did you take anabolic steroids? How well is your diabetes controlled? Have you had X rays? What type of flat foot do you have? Have you had custom orthotics?
I can answer your last question- Yes, surgery will leave a scar.
You need to discuss all these concerns with your doctor. Write them down if necessary so you don't forget.