Apple's Wifi routers and their desktops have a feature called wake-on-demand, that will send the requisite wake-on-lan packet to a sleeping machine when a bonjour published service is accessed. So, in theory your system could sleep until you want to ssh into it, and then the router, detecting the attempted access to the sleeping system, sends then wake on lan packet to the system allowing your ssh connection to proceed. Sadly this feature has been an Apple only thing, and while Apple has the source for it's implementation available (it's deeply tied into Darwin's packet filtering), it hasn't gotten any real attention in the Openwrt and related communities.