This is very much on our radar, and is one of the reasons why we don't have an external stepper expansion board for Duet 3 yet. It's not as easy as it sounds, because at 3D printer speeds and resolutions the quadrature signals arrive at quite high frequencies, so it's not practical to use the main microcontroller to capture them using ordinary pin inputs.