Yes definitely, you can use the WP Rocket plugin with the Cloudflare CDN. In fact, WP Rocket is compatible with all major CDN providers, including Amazon Cloudfront, MaxCDN, KeyCDN, and others.