I have, but really it depends on the keyboard, some programable ones are OSX friendly, some are not.
I at least have the media keys working ( volume, next, play/pause ) and the other buttons, not sure about eject, and screen brightness ( desktop setup so I can't test those )
But yes, there is also software fixes for this.