remote controle

i know there is a fue projects around about this but i was wandering could i use 2 arduinos to create a rf remote control

so basically the rf transmitter will have codes from ir remotes but also has device selection so for instent i could press a button and it selects tv and starts to act as a tv remote but then i could select cable then it would act as the cable remote

and the rf transmitter will reseve the codes from the transmitter then relay them via ir leds

i would also like it where when i press the power on the transmitter the reserve sends one code then wats say 15 sec then sends another code and if the power get pressed again it dose it in revers. (this part is to work with a small system i have set up were my tv is hidden in the unit and comes up out of the back of the unit)