I think LZ did that a bit with the logitech K240 to make some custom wireless keyboards. They figured out the matrix and remapped it.
Here on GH it has been done with model Ms and replacement controllers a really long time ago, and more recently with the bluefruit bluetooth module from adafruit.