Is there any idea on developing a custom library to support fota -Firmware Over The Air for non networked devices such as PyBoard or any such bare metals?

It would be of a great help if anybody could share some insights or some way as it seems that I have been pitching in the dark to start off with

Thanks in advance!!