Remote serial/uart bridge?

Is it possible to do a serial bridge like this with esphome? I’m trying to hook up an RFID reader wirelessly and would like to keep it in the esphome ecosystem, but it isn’t clear to me as to whether a UART can be tied to a TCP port.

Looks like this may fit the bill.