The answer is yes. But do not take photos from military sites or state building even if you are not sure if it is forbidden. Carrying long lenses usually attracts a lot of attention. Pay attention to no photgraph signs. If you do not know if it is appropriate, just ask your guide or a local. Sometimes there are no signs even in Farsi.