Ammonium persulfate (APS) is used as a common oxidant during chemical polymerisation of polyaniline and other ICPs. I wonder if the oxidant itself can dope the polymer during polymerisation (like the thing happens when we use FeCl3), since during reaction, APS is known to be converted to sulfate radicals and then anions, which are able to protonate the polymer even without the presence of acids such as HCl and organic acids.
I am asking this question because many papers suggest doping of polyaniline by mixing the dopant (organic acid, polymeric acid, etc.) within the reaction mixture (containing aniline as monomer). However, if this is the case and the oxidant is able to dope the polymer, there would be competition between sulfate anions (by APS) and other anions produced by the organic acids, and it would be impossible to attain a pure PAA or PSSA doped PANI or a pure CSA-doped PANi.
[Of course it is possible to first dedope the PANI with strong bases and then redope it with the desired acid which seems to be more rational]