Yes, I think that there is.  Custody and guardianship determinations are made "in the best interests of the child."  If you have proven yourself as her legal guardian before then you have a one up on most people.  I would speak with a social worker and your sister's school.  I would seek what ever the law will give you. Your sister is lucky to have you. Good luck.