If you have a list of items separated by commas, can it be used as an appositive if you separate it from the rest of the sentence by yet another by comma?
Here's an example:
The factory produces various types of ropes , such as cotton, acrylic, nylon, etc. , from garment waste.
In the above sentence, I use two commas (in bold here) as appositive commas, whereas the other commas are used to separate the items on the list. Is this correct? If not, why not?