OTA without connecting to particle cloud

Hey, I was wondering if there is any way to do OTA updates on my photon through a local gateway which has the new binary rather than connecting to the cloud?
Only the gateway will be connected to the internet to receive the new binaries and it should be able to distribute it to all the particle photons connected to it.

It’s a while since, but you can give this a try