It may seem like a weird setup but it really works for me. I put my ipad on a folding stand to boost the height closer to eye level and it's so much more ergonomic than what I used to have with my 15" Macbook Pro.
We could go through the whole dance of figuring out which weighs more and what does what with whom and where, but I think it's probably easier to say "different people have different priorities". If what you want is a lightweight Linux laptop, the iPad is never going to give that to you. If what you want is a tablet that you can connect a keyboard to when you want, an X1 Carbon is never going to give you that. And if that is what you want, it's nice that the iPad can run a great ssh/mosh client that's capable of running Visual Studio Code in the cloud.
In theory one could even do this from the bathroom without the awkward appearance of walking in there with laptop in arm. Hypothetically. I certainly have not tried this, no sir.