You can do that already by script. Enumerate all trades, check if it's a phantom trade, close it and open a real trade instead. However this is normally not recommended, as it would enter trades not at their proper entry points.