Hosted Engine is basically a centos stream 8 running the engine. Never tried the conversion but it should be possible.
I suggest asking the Rocky Linux community how to do that.
oVirt node conversion requires either building a node update based on Rocky Linux or a full reinstall of the host with Rocky Linux.