I don't know about specifically causing BPD, but anything psychologically damaging like that (and oh yes, that would be psychologically damaging) could most certainly cause psychological disturbances.
Imagine living a life where someone you are supposed to trust with your very life goes to great lengths to get 'proof' that there is something desperately wrong with you - to the point of actually harming and hurting and abusing you so you show symptoms.
You live a life BEING 'wrong' and 'diseased' (as proved by the actions of the person trying to prove there's something wrong with you) and FEELING 'wrong' and 'diseased' and furthermore, you had your trust abused by someone you trusted.
Severely disordered attachment issues would only be one set of problems that I could see happening from such a scenario and I'm so sorry to hear that is what your former wife endured and I really hope she is getting the professional and unrelated-third-party help she needs to get through everything.
PS: Unrelated third party help, Scott. UNRELATED third party. Don't beat yourself over the head with this and feel like somehow, you're responsible for not helping her enough or something.