Avoiding getting dinged for INR to USD wire conversion

I have a NRE rupee account @ ICICI and want to repatriate that money back to the US in my dollar denominated account. Wire transfer offered by ICICI is the worst way to bring it back. A poor exchange rate is offered and there is a fees involved.

Is there someway I can buy USD by trading currencies via zerodha and have it deposited in a dollar denominated account? The idea being avoid the poor exchange rate?

Best
Sid