I actually made spinning friction weld caps this way, because the company didnt want to buy the injection molded ones, any more.
You can only recycle it a few times.
It gets more brittle every time, without fresh (virgin) plastic.
Very important to use mold release.
We used a silicone mold release that you sprayed with regular spray bottles.
There may be alternatives, like soap, not sure.