Hello Eric1308,
Mikesina, has explained everything relevant.
You must consider the compatibility of the housing and the MACOS.
Regarding scripts etc. the following page helped me a lot to get my setup (MacBook Pro with Sonnet 550 and RX570) running under Bootcamp:
https://egpu.io/
If you want to use the eGpu under MACOS, I recommend you to use a supported eGPU, makes life easier :)
Greetings
dell1503