Yes, not recommended. There are warnings about not wearing loose jewelry and ties when working near machinery. I've seen YouTube videos of workers getting pulled into machinery due to loose jewelry. Now, Mr. T might wear a 50# gold necklace, but not me.
I was a kid during WWII and remember hearing the grownups talking about women getting killed or disfigured because their hair got caught in the machinery. A lot of women at that time were were copying actress Veronica Lake's hair style and were hurt for that reason. That's why you see Rosie the Riveter with a bandana around her head.
[Sidebar. Sinclair wrote an expose called "The Jungle" - about horrible working conditions in the Chicago meat packing industry. He related how one guy fell into a rendering vat and disappeared.
The public was outraged, not over the harsh working conditions, but that some guy possibly ended up as their bread spread.]