Don't know, but I've done is several times and I haven't seen a problem with my brushes.
Is scrubbing bubbles safe on hair? Why not a shampoo or test lather? Vinegar sounds okay