Why not?
Even if there was a ground connection between two CAN interfaces, this would only connect both *isolated* grounds together. I have here a 400A welding transformer which is controlled over a CAN bus by a panel PC. The CAN connection does have a ground, but also in this case, it only connects the isolated "grounds", which are just the V- from the isolated DC/DC converter. So no real ground, just an equal reference to both ends.
Meindert