Bootloader problem when SPI slave connected

Can you pull the 328 chip and program it in an UNO or equivalent?
Or otherwise ensure that there is no acivity on the RX/TX lines to interfere with the start up comms with the PC for loading?