It seems there is no practical sence in this, but anyRemote could be configured to work with LIRC.
To use anyRemote with IR remotes it needs to:
begin remote = _REMOTE_NAME_ button = Button1 prog = irexec repeat = 0 config = BUTTON1 end ... begin remote = _REMOTE_NAME_ button = ButtonX prog = irexec repeat = 0 config = BUTTONX end
... [Keys] BUTTON1=Exec(whatever you want) ... BUTTONX=Exec(whatever you want) [End] ...
ircat irexec|anyremote -s stdin -f /path/to/cfg/file