I guess that you're using the semi-analytic Eskilsson/Claesson method. With this, it should work perfectly fine through IFM. Applying the fully transient Al-Khoury approach, however, strictly speaking, the temperature values of the inflow / outflow pipes in the BHE would have to be switched when changing flow direction (which is not possible via IFM).
Savastan0 biz