Upvote:3
In general no. A Iranian is Iranian on own country, so he must use Iranian passport and use rules that applies on Iranian people.
The same in Germany (with German passport).
Just abroad of the two countries, you have the choice, also because both countries have no legal authority.