I’ve seen videos where people disassemble a Magic Keyboard with Touch ID; remove the battery, circuit board, and touch button; and assemble those into a 3D printed case. Seems excessive to me but I’m okay with using a regular Magic Keyboard so that makes it pretty simple for me.
If you absolutely can’t stand a Magic Keyboard, you can look into that option.