Is this kind of work allowed?

Yes! Caucuses are an integral part of union work, and are actually quite common in all kinds of unions. Most urban teacher unions have multiple caucuses within their union, including Chicago, Los Angeles, Seattle, Newark, and New York. (The current leadership of the PFT actually belongs to their own caucus. It's called the Collective Bargaining Team, or CBT.)