Mac OS X 10.1 works with IrComm, an infrared communication protocol, on the PowerBook G4 (Gigabit Ethernet) computer and some third-party USB infrared pods.
The following computers have built-in infrared hardware that does not work with Mac OS X 10.1:
These computers may communicate more efficiently via Ethernet cables. Infrared's vulnerability to interference (from florescent lighting, for example) and limited ability to operate over relatively short distances make it a less ideal choice for communication than AirPort wireless or Ethernet technologies.
So your answer is no, because your machine is listed as not able to work well. You can try, but you may not get the results you want.