Only if you're buying artesinal single source electricity sustainably sourced from trained dolphins.
Average US electrical power is $.18/kWh per google. Figure the desktop draws 300W continuous (which it almost certainly can't), and that's 0.3 kW * 24 hr/day * 365.2425 days/yr == $473/year. So even if the mac was completely free you'd be looking at crossover in 5 years, or longer than the expected life of the device.