Iran does not have that capability. But that would also be an act of war.
Flinging spacejunk pollution into orbit is extremely simple if you have rockets.
Iran has lots of rockets.
Iran also has basically zero of their own satellites in orbit that they care about.
Spacejunk is a highly asymmetric tactic.
No, it wouldn’t be an act of war, it would be “a military operation”.