I tried something similar. A scarf + a tie in the iron bar inside my wardrobe. It seemed it was going to work but I had also taken lots of sleeping pills and couldn't hang properly.
Finding the right spot on your neck is vital.
There's the night night method in the suicide megathread. (i think it's called that) it works pretty similar to partial hanging/suspension https://sanctioned-suicide.net/threads/the-night-night-method-mega-thread.6834/