Using Tubular here, which supports up to 2160p! Assuming the creator uploads at that resolution, of course. It’s a fork of NewPipe, so NewPipe would probably allow for 1440p and 2160p as well, as well as any other fork of NewPipe (such as NewPipe X).
Ah, understood. I’m unaware of any clients for Linux that would do what you’re asking for. You could try using Anbox to run android apps and use the android solutions I’ve recommended in my last comment through that, but that’s all I’ve got. Good luck!