I designed a Magic Keyboard cradle for use during medical recoveries in future after getting Covid to try to stay productive on couch or in bed when sitting at desk became too difficult. I designed it for my old iPad Pro 12.9" 5 generation using Apple Accessory Design Guidelines. I'd advise you do the same for your device if remixing.
Apple Pencil Caution: When the Apple Pencil 2 is in the holster, it stays active never going into standby due to proximity to the iPad. This drains the Pencil 2 within days if placed there. I learned this after a couple months of use wondering why the battery was always flat when needed.
The provided two part "Head Stay" is optional, once installed, it allows the arm to bestowed by the position of the arm's head piece. This is useful as the arm tends to swing open outward freely when disturbed.
Also, there are provisions for inserts on cradle back for accessories per cradle side on the back, I used the left side to mount a USB-C to headphone jack port.
The kickstand parts require a lot of post processing, send me a question if you need help.
Viozon Tablet Floor Stand.
The author marked this model as their own original creation.