The states often give CPS broad powers to investigate and protect children.
A parent can "voluntarily" work with CPS or deal with CPS once it obtains the necessary court orders. CPS likely can quickly obtain the court orders it needs.
Given the many issues apparent in your situation, you likely should review your facts and options with a local attorney. You may not want to sign any document with CPS without the advice of your attorney.