Hmm....Never say never, but it sounds rather unlikely, IMHO. There are photos of a P40 turret which was used as a pillbox in the Gothic Line, sporting a German 7.5cm KwK 37 L/24, thereby setting a precedent for swapping the main weapon on this particular turret, (however, I doubt this was done for performance reasons.)
But swapping out the co-axial Breda for an MG 34 would require at minimum a redesigned and rebuilt mount, with possible modifications to the aperture in the turret. A field-modified AA mount for an MG 34? Easy. Co-axial MG replacement, not so easy. A lot of time and work would be involved for a rather modest gain in performance. I would think the machinists and mechanics would have had more pressing issues dominating their time.