As long as the chip is a 328/328P the code should run the same whether it was loaded using the Bootloader or using an ISP.