Yes, you can. A subdomain like sub.sub.example.com will work with Cloudflare just fine, but you can't use a self-signed certificate for that. Cloudflare does not support that. You'll need to purchase a certificate for your site to make this work. Head on over to the Control Panel of your site and click on the SSL settings to go to the SSL ordering screen.