transfer uf2 file to Samd21 Arduino board with UART

I need to transfer the uf2 file to my Metro M0 express or Feather M0 via UART0 or UART1
I have a BLE module that has gpio and UART, my idea is to be able to put the micro into bootloader mode by using BLE gpio connected to the reset pin of micro and then transfer the uf2 file over BLE to the micro.
is it possible?
any idea would be really appreciated.