Software wise, I saw some folks build their own full-size custom trackball. And the major forms of keyboard controller have mouse commands now, so if you have the hardware it would seem the only other constraint would be dedicated I/O lines on your uC.
Unfortunately I can't offer more help than that, except to say there have been keyboards with builtin pointers, so it shouldn't really be that hard, aside from the physical space & construction skill needed.