Any parent involved in the dependency/foster care system is entitled to a free attorney. If you do not have one then you need to ask immediately upon walking in to the next court hearing. There are a lot of hurdles in this process and unfortunately you have to jump through a lot of hoops to get things "back to normal". Government agencies tend to be immune from lawsuits so you would likely not be able to recover anything. However, you can always see if there is an attorney to take on this type of case.
Sign up to receive a 3-part series of useful information and advice about child custody law.