DFU over SPIS from an external device on NCS

I am planning to create an application on NCS that can have https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bootloader using CONFIG_SECURE_BOOT=y, But is it possible to customise the bootloader to update firmware over SPIS using an external HOST(another microcontroller) 

Related