Yes, you can take photos of most of the things as soon as you respect local traditions. Moreover, you have to regard the military and security checkpoints. Asking permissions eases this process.