I'm not aware of any plug and play high resolution rotary joysticks. I vaguely remember some commercially available licensed table top machine that included classics and had a rotary stick that could be used for driving games. I can't find it now though. You would probably have to roll your own.
Just FYI some of the driving games do not play well without an analog gas pedal.
In Pole Position for example, without being able to only partially depress the gas pedal the tires will squeal on takeoff and cost you enough time to prevent you from progressing in the game. Other games like IVAN Stewarts Offroad play fine with virtual pedal to the metal.
This can be overcome somewhat with the Digital Speed setting that sets how fast the virtual analog control ramps up when you press the digital input (button). Read up on MAME's analog controls and get a good understanding of them.
https://docs.mamedev.org/usingmame/ui.html#analog-input-settingsIt may be possible to tweak these settings well enough to steer with a standard joystick, but I haven't invested any time in testing it.
There was no JAMMA equivalent for analog controls, so every machine was different and every game needs at least the sensitivity adjusted to play as it should.
I messed around with diy rotary solutions on my joysticks, but do not have enough depth in my control panel and could feel the added hardware while playing other games. For aiming in games that had rotary sticks, I ended up mapping buttons to turn the character one notch per press (thumb and middle finger turning with index finger firing and ring finger off to the side for grenade). It feels pretty natural. Not sure if it's in the new wiki, but here is where I quoted it from the old wiki:
CALIBER 50
GUERILLA WAR
HEAVY BARREL
IKARI WARRIORS
MIDNIGHT RESISTANCE
SAR - SEARCH AND RESCUE
TIME SOLDIERS
VICTORY ROAD
XYBOTS
From the BYOAC Wiki
http://newwiki.arcadecontrols.com/index.php?title=Joysticks#MAME_Settings_for_Mechanical_Rotary_Joysticks
MAME Settings for Mechanical Rotary Joysticks
For mechanical rotary games:
"Input (this Game)" menu
Positional Analog to none
"Analog Controls" menu
Positional Digital Speed = 0
Positional Sensitivity = 100
For optical rotary games:
"Input (this Game)" menu
Dial Analog to none
"Analog Controls" menu
Dial Digital Speed = double the default value
Dial Sensitivity = default value