If I understand correctly, you want to WP a remote node, directly through the MightyHat instead of an additional separate WP programmer Moteino, correct?
This is possible, and perhaps something I will look more into. However with the current code it would significantly increase the sketch size of the MightyHat which may mean it will no longer fit in the atmega328p memory, if all the other features of the MightyHat sketch are enabled.
Generally I would advise to use a separate WP programmer Moteino until an 'official' solution is reached, since it would keep away from interfering with the rest of the network. If you use the MightyHat/gateway for programming, all other data will be blocked, although it may not be a real problem, but worth mentioning.
To achieve this feature, I would need to bridge a way to compile the sketch, transfer it to the gateway, and then to WP the target node.
Perhaps a new UI page in the gateway interface, where a file (the HEX) could be uploaded and then show the WP progress right there. The interface and gateway.js app would need to implement the equivalent of what the current windows WP GUI does.
So a lot of work but thanks for asking, definitely something to consider.