Currently, CAN on the MCU of the Uno Q is not supported by the Arduino Zephyr Core.
It should be supported by the Zephyr RTOS, though: if you are familiar with it, you may want to give it a spin: zephyr/samples/drivers/can at main · zephyrproject-rtos/zephyr · GitHub .
Cheers.