Well, I guess not But poor PCB layout, schematic, PSU filtering could indeed produce few unwanted issue, that's for sure.

Latch-up caused by a high voltage spike on MCLR (entering programming mode) could be one source. The whole schematic, board layout and whole code would definitely help