Can I use this digital IR transmitter to control the robot?

Yeah I know those both will work together..
But can I use this like remote control that controls rc car?
I am building a robot that has two dc motors, I would like to use IR transmitter to transmit data to IR receiver to rotate the motors, could it possibly be done?