yes using https://developers.cloudflare.com/workers/configuration/routing/routes/

Cloudflare Docs
Routes allow users to map a URL pattern to a Worker. When a request comes in to the Cloudflare network that matches the specified URL pattern, your Worker will execute on that route.
Was this page helpful?