What are the restrictions on NRO and NRE account?

Yes, You can pledge and use the margin to take the positions. But this will have to do with the Custodian.

Note:- If you hold a demat account with us, we wouldn’t provide you any collateral on those securities/liquid funds for F&O trading for NRIs since the settlements happen through a custodian.