Not strategicaly viable . Iran is going to be strong opponent in contest of Gawadar port .in next 2 decades this could turn into hostility and dont forget another triggering aspect of saudi iran direct collision ....an inevitable event gonna happen in next 2 decades . In future,any success in Gawadar project wld be unacceptable to gulf states and iran and with indian backing things wld get messy .
Any small rocket fired across border can hit gawadar city easily , nonnstate actors / houthi type rebels can " claim" attacks . Hybrid war wld be on its peak . So as soon as Gawadar becomes a success story , pakistan fencing iran border , air survillance by uav and jets , regular military presence , strong naval presence and survillance , strict visa scrutiny from iran .
So DONT Expect any military deals btw iran and pakistan .