VirtualWire

Yes, that is possible.

Start with the simple examples that come with VirtualWire and make sure that they work, and that you understand how they work, before modifying them.