Yes, you can hedge your position at any time in order to protect a losing position or to balance your equity, as long as your Free Margin is positive (Margin Level>100%).

When all positions are fully hedged, the Margin Requirement will be zero.

Please note however that even if your positions are fully hedged, you are still responsible for the spread cost and stopout can still be triggered.