I think it depends on the countries. I doubt very much one could be a citizen of both China and Iran, for example. Most of the free or western world would allow it, though.
That said, I was born in England and emigrated to Canada as a littlin'. I'm now a Canadian citizen who holds both passports. So yes, as others have stated, it's possible.