Power off keyboard

When you remove the touchpad, the laptop powers off the midplate and thus the power for the keyboard is removed also.
Is there anyway to do this “power-off” from the Linux command line?
I.e. I wish to write a script that powers off the keyboard and touchpad, and similarly turn it back on again later.
Using “uhubctl” and “unbind” does not power off the keyboard. Proof being they still have LED lights on, even if the keys don’t work.
My eventual aim here is to actually power off the keyboard / touchpad during suspend to save a bit more power. I can turn off the keyboard LEDs from a script, but that still leaves the RP2040 chip with power. I wish to wake from suspend with the power button, so I don’t need any keys or touchpad to exit suspend.

Did you try hub-ctrl?
https://www.baeldung.com/linux/control-usb-power-supply

If none of the normal ways work, then control might not be available outside of the Embedded Controller.