Sure, why wouldn't it be?
If the mouse hack is good for a single trackball, and an iPac can do all your buttons... why wouldn't you?
Your trackball would go into the PS2 port for your mouse, and the iPac would go into your USB port or your PS2 port for keyboard.