Sorry!
For some reason I completely overlooked that you wanted to connect two devices together.
So the answer is yes! Get a Grove cable:
https://shop.m5stack.com/products/4pin-buckled-grove-cable?variant=16804807082074
Remove/cut the the red (+5v) wire and setup the UARTs on both devices with "crossover" pin-config.
I.e.:
Device A UARTx Tx=32 Rx=26
Device B UARTx Tx=26 Rx=32
or vice versa.
I'm not sure what you mean by "using interrupt", but you could (with same cable) define say pin 32 as output on device A and the same pin as an input defined to an interrupt on Device B and then perhaps the opposite with Pin 26