You can sue; the bigger question is whether you could prevail at trial. In Texas, police departments and their officers may be successfully sued for very few reasons. These generally include false arrest, malicious prosecution, assault, battery, excessive force and various other civil rights claims. The most common reason people want to sue the policy in Texas is for false arrest, excessive force and malicious prosecution. While there are some very legitimate claims for all of these, the grounds for a valid claim are narrow. Prevailing on these claims generally requires proving the police had no justification for their actions. That does not mean if the police arrested you and they were wrong that you should sue. There must be more to it.
Lawsuits against the police or other government entity are both legally and factually complex. The likelihood of success can change radically based on as little as a single small fact. They are rarely successful because police departments, officers and municipalities have a wide range of immunities they can assert that prevent any recovery. Additionally, the law also provides the police considerable leeway in executing their duties. If you can prove the defendants are not immune and were liable under the law, you still must prove the acts of the police caused an injury recognized for recovery.
If you believe you have a claim against a police department, law enforcement officer, or other law enforcement agency you should talk to an attorney to assess the facts of your claim and determine the best strategy in your situation.