Is it possible to opt out from quarterly settlement ?
Nope. Quarterly settlement is SEBI mandated. So neither the broker or client can opt out of it.
In case you want the funds to stay in your account you can consider parking idle funds in Liquid BEES ETF and pledge it to release margin for trading.