Not sure about ASRock, but I have (2) Sapphire 6900 XTs that both work in their own Razer Core X enclosures:
Both were plug and play out of box within Monterey and now Ventura. Only addon was (2x) splitters (https://www.amazon.com/gp/product/B072JR4H3N/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) since the PSU cables the enclosure arrived with were short on pins.
Check out egpu.io for any builds with ASRocks? From what I can tell with other GPU(s) such as the 6600 XT and RX Vega 64, all of them have worked for me in both OS's.