No. CJT cannot do that for you.
CJT Code-Block can be just assigned to a request (page, post, URL, etc…).
1. Hide the form using CSS code.
3.Show the form or point visitor to like your facebok Based on the return value.
I might not completely understand you. But CJT Code Blocks is not conditionally executed.
Please don’t hesitate to ask.