Is it possible to simulate forced liquidation due to excess liquidity in backtest and live

I am using Interactive broker

thanks