I have and old laptop with some good screen but awful audio. What i want is to stream the audio on my decent tablet to use it as a speaker. This is not a server cloud or anything similar, just a pc with some linux distro installed.
Just FYI, I’ve seen and heard a speaker looking like a tin can, sitting on the desk, perform very solidly — and I myself was using Sennheiser headphones and pretty respectable boxy speakers by that time. This was ten years ago. By now any little standalone speaker can probably outperform one embedded in a tablet.
Regrettably I don’t know any model names, might have to look for them myself sometime.
You COULD use a casting client and server, but it’s probably much easier to just use the tablet as a Bluetooth target. Some phones/tablets just do this, but there’s also simple free apps out there that enable this as well.

