Is it possible to assign RESP contributions or to use them as collateral for a loan?

No, property of an RESP account cannot be attached to a loan.