Can I purchase debt funds through zerodha demat a/c and pledge them to get margin for F/O trading?

Guess Hanan has answered this for you here - http://zerodha.com/varsity/chapter/margin-calculator-part-2/