Several for "impossible":

>Nailing jelly to a wall   
>Mission impossible   


For "illegal" :

>You'll be caught red-handed  
>Taking the law into his own hands.  
>Fool's errand 

For "more than he can do" :

>Bite off more than he can chew  
>Burn the candle at both ends.  
>Carrying it too far.