You don't have to add any acid at all, the plant is already acidic so the alkaloids will be soluble in water. Just brew it as it is, much better tasting than adding acid.
After doing the (for example) 3x3h boils, then you could leave it soaking in acidic water for a day or so, maybe pressure-cook it or blend it or even freeze and thaw it once, and then extract from that whatever extra harmala alkaloids might still be there. And since you'd be extracting this last part, it wouldn't matter if there was any vinegar because you wont taste it when you separate the alkaloids anyways, and you don't have to worry about not using acid before on your drinking brew because even if for some reason you dont get 100% alkaloids, you'll recover whatever is left in this last step.