Something like that.
In principle, the status of the OD pin could also be used as feedback to the microcontroller. Typically, the integrated comparator continuously measures the low-side shunt of the half-bridge via the CP+ and CP- pins, deactivates the half-bridge in the event of overcurrent and activates the OD pin (see data sheet, fig. 6 and corresponding description in section 7).
If the PWM is not applied to the L6491 with a push-pull output, but with an open drain output, this would form a wired OR with the OD of the L6491. Theoretically, it would then be possible to check during each high cycle of the PWM whether the high was output or pulled low by the OD of the L6491, which corresponds to an error case.
Regards
/Peter