SSL for Blocked Pages?

Is there a way I could get SSL configured with a custom CA which would sign SSL on blocked domains? For example let's say I'm blocking on the Pi-hole, it'd be nice if the block page would still appear rather than an error message about the SSL. Is there a way I could do this?

This may be of interest: