Several years ago I read in the newspapers about loving and devoted parents who surrender their parental rights so that their children can get the medical and mental health treatment that the children require but cannot get. The article was sympathetic and understanding.
When children are in the custody of the state there appear to be no limits to the care that they can access. When children are "in the system" they have their own attorney to ensure their constitutional rights and their needs are attended to. I know this because my son when I adopted him had an attorney who came to my house to meet me before my son came to my home.
What we learn here on this forum is there are times when our parenting does not fix our children. It is very difficult to face this. I am so, so sorry.
At 13 her acting out may only get worse. And there is a liability for you involved. Parents can be held liable for the property damage and other crimes our under-age children may commit. I would contact a family attorney to discuss your options.