I am not aware of any customisations. But I assume that letting the MX doing this job is likely not working as there is no TLS inspection on the MX (at least not as general availability).
I would go with Cisco Umbrella where you can both customise the block pages and also provide a block page for HTTPS blocks.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.