Buy a used Mac Mini. They haven't been updated in like 5.5 years at this point. You can just remote into it.
Or just build a hackintosh.
Or just build a hackintosh.
At work I just use an external KB while I’m working at my desk (98% of the time), rendering the macbook’s internal KB almost entirely moot.