Can a worker script or an app be the very first script to load?

Is it possible for a Cloudflare worker script or an app to be the very first script that loads? I’m looking for a way to block cookies from loading, so I need the script to load before any in the CMS.

Thanks,

Cloudflare Workers sit in front of your site, like a middleman. It can process inbound and outbound communication.