Can i go to the ER for a medical detox?

Can i go to the ER for a medical detox? Or will they just make me wait all day while im going through withdrawls lol serious question