Don’t see why not since vinegar and ginger are both okay for pregnancy. However, try not to take too much cause it’s very warm. During pregnancy, if you get too heaty, it might be hard to treat since you cannot take cooling stuff to counter the effect. If it’s just a once off, i think it should be fine.
if you are concerned then avoid