Yes, in certain situations, civilians have the legal right to sue a local police department. However, government agencies in the U.S., including police departments, typically have sovereign immunity against legal claims made against them. However, if it can be definitively proven that willful and unlawful behavior or acts took place within a police department, this protection can be lifted.
Speaking with a qualified attorney can determine the validity of a case against a police department.