In practical terms, fitting a DPF will be impossible. Putting the "can" in the exhaust is easy enough (although you'll have to get it close enough to the manifold to get it hot enough) but it's all the peripheral stuff you need to get it to "regenerate" periodically that would be impossible. Typically (depending on how the car is driven) they'll fill up with soot and have to "regenerate" every 500-1000 miles. There are tubes before and after the DPF "brick" via which the back-pressure is measured. When the pressure difference between them gets excessive, the car goes into "regeneration mode" and does everything it can, to get the exhaust absolutely stinking hot for a while to burn the soot off. It will mess about with injection pressure and timing (and valve timing if it has variable valve timing), boost pressure, EGR valve control - all sorts of stuff. Some PSA models also use an additional chemical to help with the process. Given the well-publicised problems with blocked DPFs in the news, it's fair to say that the OEMs struggle with this area of technology, so as a DIY proposition, I think the advice would be "don't go there"!
Also, depending on WHAT it fails on, a DPF might not help anyway. They ONLY deal with smoke (soot). If it failed on (say) CO or HC, a DPF wouldn't do anything anyway.