If you mean WOL as Wake On Lan, then any network activity to the computer will wake it up. So if the NIC gets a packet from wherever its connected to, the computer will boot.
That's from my understanding. I remember plugging in a NIC into a system and it booted because of WOL and it though it was network activity.
All you would have to do to write software would make it ping the machine to turn it on from a remote location I think.