No. But also yes. You can use a almost unlimited amount of material to strangle yourself.
But some are more effective and comfortable then others, so if you really don't give a shit, use your shoelace. If you want to minimize risk, increase chances of success, and reduce pain, use a good rope.