The you have to deal with CORS. But any site that has real complex interactions to design around isn't going to be hosted on Wix.
Why not have your frontend proxy running somewhere else, pointing both to Wix and to the evil ad network? Wix will still think it's the host, so it should be fine.