How to flash customized BSP through network?

You don’t need an OTA server for image-based OTA.
You should generate an OTA update package and put them to the board through network and then trigger the update through reboot.