Realdash communication with esp32

Is it possible to use the Arduino example code that was created by the author of realdash in esp32, if so in xml instead of Arduino digital example 2, will I have to use esp digital example 2? and so on?

At least the protocol and the principle how to send/receive CAN frames is the same regardless of the device. The actual code probably will not work on esp32.