Get into the world of custom keyboards. Build one, and then play around with QMK or Zephyr based ZMK.
The other alternative is to check ardupilot. Buy a random embedded development board and try to get some of the motor control protocols running on that board.