Thereorically, this can be done.
There are wifi controlled power-plug on sales. It can turn-on/off the power supplied to any electric device plugged-in, controlled via wifi.
However, to simulate the power button pusshing on the Mac pro, you would have to hack into both the power-plug and re-wire the power-on switch of the Mac pro itself.
Upgrade your switches with SwitchBot Bot. Transform any button or switch into a smart control in seconds. No tools required. Experience the convenience of a smarter home today.
PiKVM an easy and inexpensive DIY IP-KVM on Raspberry Pi to control remote machines: Full HD, mouse, Mass Storage Drive, VNC, IPMI and much more out of the box. Most modern KVM over IP ever!