It should work. This article describes setting up port forwarding on a publicly accessible router, then using a cloud function to send a wake-up packet to that port. The router's port forwarding then broadcasts the packet.
Theoretically, WoW could be done the same way.