Yes, but I have a theory that anything you imagine can possibly become reality. I mean how much of our technology do we use everyday that would have been magic just a few hundred years ago?
It wouldn’t be a true oobleck - certainly not the traditional kind with corn starch. But something that expands when exposed to air via a chemical reaction and is sticky? Get on it.
Though not sure how good it would be if used like in the film. Suffocation would be a real fear.
And as for robots, eventually we will have robot police, they will be like Tetra Val or Chappie - only less shooty. Those were 3rd world war zones. In the US they could easily detain and arrest people with out lethal means.