He is retired and can do whatever he wants with his life. Why government of Pakistan is intruding?
Also Iran will never be a friend of a Sunni majority country . It's stupid to alienate existing long term friends the Arabs , just to appease Iran which cannot be appeased.
Iran can undermine Pakistan's great game in Afghanistan and Central Asia