Hi,
Of course, the LPC54S018 has on-chip bootloader in ROM, you can press the ISP pin during/after Reset, the chip will enter ISP mode, in the ISP mode, You can use flashmagic tools to download code to external spifi flash.
This is flashmagic tools website:
You can load the flashloader project with MCUXpresso tools and download the project to RAM via SWD device, after the flashloader is running, you can write spifi flash with blhost tools run on PC side.
Pls go to the wbsite for the flashloader:
https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcu-bootload...
Hope it can help you
BR
XiangJun Rong