UART power /connection from /to another device

As long as pinout is correct, any reason this won’t work?

Should work with uarta using the wiring tool overlays.