You can marry, there is no clear rule against it. Advisable ans safe route is not to marry. if the opponent report to the high court, judges will not be happy. If the man marries, judges can penalise him indirectly by increasing the alimony. If the woman marries, she will not get any alimony at all.
if the apeal against divorce succeeds, the second marriage will be void. If it fails, the marriage remains legal.