Generating Random Copolymers Help

I am unsure if this is already implemented or someone has a plugin or anyway to generate random copolymers. If not it would be a great addition to the software if there is enough interests.

Expected Behavior

I would like to input SRU polymer data like [R1]n and [R2]m as an example.
R1 = Monomer 1
R2 = Monomer 2
n,m = % frequency of the specific SRU polymer group

create a chain by putting them in a bracket set {[R1]n[R2]m}N
N = length of chain (how many repeating units R1/R2)

Then finally be able to generate the molecule and another step of choosing how many molecules to create/generate (I believe that last part already exists).

So, if you know of a plugin or any other way of accomplishing this would be greatly appreciated. If not Thanks for reading!

I mentioned this in my recent post: Next Features Roadmap - #10 by brockdyer03

We already have a pool of monomers: fragments/polymers at main · OpenChemistry/fragments · GitHub

I could probably get a quick-and-dirty Python script done in a few days. The actual builder shows preview images for the different monomers.