You may be thinking of the Our Gang / The Little Rascals shorts (1920s–1940s). These black-and-white comedies featured a troupe of children who formed clubs, schemed, and mimicked adult worlds—sometimes parodying gangsters with toy guns, "protection rackets" (for candy), and mock trials.
Another possibility is Bugsy Malone (1976), a musical comedy where *all* roles (gangsters, dancers, boxers) are played by children—but it was filmed in color.
If the film is strictly black-and-white and centers on kids running a mafia-style operation, the Our Gang shorts (especially episodes like "The Kid's Last Fight" or "The Pinch Singer") are the closest match. No feature-length black-and-white film fits this exact description.