weirdly, i've done the repair on one of the previous X1 generations. It was a pain to disassemble most of the machine (~2 hours?) but it was at least doable. i don't think you can do it on a Mac at all?
The procedure for keyboard replacement should be similar between an X1 and MacBook. They are somehow “layered” to be cheap and flat. It was already a pain with the MacBooks from 2008.
but also fiddley.