Use PPS for UART and PGC/PGD on PIC32
As long as nothing else is hanging on the lines then it will be fine. 

When the chip unlocks for programming, all of the PPS selections are unselected. What it will interfere with is if you want to debug using the Pickit3.