That is exactly what I want.
The main problem I've seen eith that sort of thing is that there still aren’t many 5k monitors on the market and I’m not sure the LG one will work with Linux over USB-C. (Would love to be wrong on that if anyone knows better).