I think it is possible to get a fiancee visa while the annulment has not been finalised but there could be a greater risk of refusal, if you could get a letter from the judge stating it will be within the next few months you could apply before its finalised