Thank you for your Question.
I called the office of Sayyid Sistani and they said:
Yes you can do your salah. Prior to that you must go to the washroom, get rid of any najasah, perform your Wudhoo and pray. Should there be a a need, then you can take another washroom break between two salah and clean yourself.
If the problem is such that even during Namaz it does not stop, then you must tie something around your private part so that the Najasah does not spread