It would be great if UR would support/provide ethercat API.
In fact, both Profinet and Ethernet/IP are implemented as default installed URCaps.
The merely launch a daemon, that converts e.g. between Ethernet/IP and the RTDE registers.
You may be able to implement a similar daemon, that converts from EtherCAT to the RTDE registers.