This isn't really an option as the remote is normally meant to control your TV and PVR.
If you can setup your receiver to control your TV (including power on/off) you might be able to get this to work.
Here is a bit of information on that:
How to Enable HDMI-CEC on Your TV, and Why You Should (howtogeek.com)
Alternatively you may wish to look at a more advanced programmable remote. I use the Logitech Harmony 665.