DFU over BLE and USB

My current project has DFU enabled through the secure BLE bootloader and it works well. I would like to include the additional option of performing DFU over USB. Is it possible to combine the two functions into the same bootloader? Does Nordic have any sample code which does this?