It's a clichè that is constantly repeated by the likes of Gordon Ramsey:
You are running around like headless chickens!
Also, for example, they do in South Park animations
Do headless chicken run around? After all, why wouldn't they collapse?
Yes they do, or at least kind of do.
They move after decapitation in a kind of jumping-running-flapping motion, and can be seen in the videos getting out of containers, or traveling several dozen meters away.
Searching for "headless chickens run around" gives a bunch of YouTube videos. All depicting decapitated chickens running around, flapping their wings and jumping. Here are some examples:
Caution: NSFW. Contains graphic content.
Yes, they are running around, until they dead.
Here is a story of Mike. A chicken refused to dead after beheaded.
Seventy years ago, a farmer beheaded a chicken in Colorado, and it refused to die. Mike, as the bird became known, survived for 18 months and became famous. But how did he live without a head for so long, asks Chris Stokel-Walker.