If I turn off proxy in the DNS, will DNSSEC still work for the domain?

I am using Cloudflare as my domain registrar and dns host. If I turn off proxy in the DNS, will DNSSEC still work for the domain?

Yes. DNSSEC is unrelated to the proxy function. It has it’s own setting if you need to disable it.