I believe you can buy a dummy HDMI plug and use Deskreen to host the screen in a webserver. This should work, but I don't think it's a good solution.
Edit: Deskreen seems to no longer be maintained and therefore doesn't support wayland. I think it's because of the Ukrainian war, and the creator being directly affected by it.
I'd get a HDMI capture card for the tablet, if it supports USB-otg. Just run a program to preview the input on the tablet and connect it like any monitor to your laptop.
For the laptop, you can use an HDMI capture card and OBS to use it as a second monitor. Keep in mind though that it'll only support the resolutions that the card supports so depending on the card you may be limited to only 4k or 1080p resolutions.
I've gone the x11vnc on a dummy display route, but found the setup's too much ceremony to want to use with any consistency.
Deskdock + barrier/synergy is slightly more ergonomic -- your laptop mouse and keyboard redirect to control android when you move the mouse out of the laptops screen and onto the tablet, but both displays are showing their native OS.
It's entirely tangential (not for android, not just a screen), but arcan does some cool stuff in this space. Here's a video of "sever tunneling" https://youtu.be/jIFjzN7dk10?t=107 (fancy x11 forwarding; It looks fascinating, but I've never gotten it setup).
Might be possible with Intel's new Thunderbolt Share, but you'd need some hacks to make it work with present-day hardware and it hasn't been released yet.