You would need consent of the parents. There's a possibility she would be placed with you instead of going to foster care. If it's than unsafe and unhealthy, you should be reporting it. You could just ask them to give you custody.
Attorneys on Avvo donate their time and your feedback is appreciated. Be sure to mark the "Best Answer" or Helpful" to your questions.