Not possible via scripting, I'm afraid. It could be incorporated into a tanks config (kind of), but I don't know if any addons out there have that feature.
However, when you are turned in, you can press the 'v' key, and then use the + and - keys to zoom in and zoom out. I think you can even get more zoom that way than you could with binoculars.