Aftermarket speedometer with 46rh ?

I just picked up a 1990 46rh (a518) and it had an sensor on the speedo pinion output. That got me wondering if one could use an aftermarket speedo and wire it directly to that sensor if needed ?
Just curious…