My parents could have written your OP about me when I was 17, even down to the drugs and broken knuckles
They did kick me out, after I asked them to several times! I didn't change until I fell pregnant at 18.
I do have a few suggestions before kicking her out.
Confiscate her keys, or change the locks. She comes into your home if she meets the following conditions: no drugs in the house, and must be in a reasonable state.
Curfew is, for example 10pm, after which the doors are locked, and any disturbances outside after that time may result in police being called. You have the right to sleep soundly. If you have a shed, put a mattress and blankets in there so she has shelter, and maybe a bottle of water too.
You need your sleep, so will put your phone on aeroplane mode at 11pm. Any hospital or police calls will have to wait. If it's an emergency, police will knock your door, but you don't have to mention that to her. Do the same while you're at work if you're being disrupted there too.
If you do reach the point where you need her to leave permanently, write her a letter that she can present to the council, but state her problems and insist she is considered for supported living for young people. It's not ideal, but at least there will be staff. Make it clear that you won't hide the reasons and you will speak the truth.
Don't allow yourself to reach rock bottom. Whatever happens, all is not lost. I'm typing this from my mums kitchen, in spite of my criminal record that I gained in my late teens, I've worked in good positions of responsibility, supporting difficult teens alongside police etc. My DS is the same age as your DD, and while he can be an absolute sod, he's a breeze compared to me at that age, and I completely understand why you haven't kicked her out so far, it's because she is your child still, but you do need some boundaries and to command some respect 