There's many services to solve this pain point. I've used https://allorigins.win/ in the past.
Do note that these proxies are for testing only, and they are heavily rate limited.
For production use case, you might consider using Corsfix (https://corsfix.com)
(I am affiliated with Corsfix)