Yes, if:
The signal voltage is compatible between the devices
The signal sense is correct, ie not inverted. UART outputs are normally inverted logic compared to RS232 levels, as the majority of level shifters are also inverters.
The IR unit actually produces some form of UART compatible serial signal in the first place. Consumer IR is often not a standard serial word, and also has a fairly high carrier frequency. Most modern IR RX sensors do all the work internally and give out a demodulated bitstream, but it may well not be as simple as 8,n,1.
pca
_________________________
Experience is what you get just after it would have helped...