Assume that turbo track ball acts like a mouse, then it should be possible.
In the mame.ini file you need to adjust a few things. Under the #CORE INPUT AUTOMATIC ENABLE OPTIONS you'll want to change the appropriate items from "keyboard" to "mouse", probably for "paddle_device" and/or "dial_device". Additionally, you'll probably want to change the "multimouse" to 1 in the # CORE INPUT OPTIONS section.
Once you do that, then you can go into the in-game config (TAB) and configure the input for that game.
#
# CORE INPUT OPTIONS
#
...
multimouse 1
...
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device mouse
adstick_device mouse
pedal_device mouse
dial_device mouse
trackball_device mouse
lightgun_device mouse
positional_device mouse
mouse_device mouse