Was told during my military training the term cockpit originated from the days of early aviation in un pressurized cockpits.
This allowed crew to use a chicken to to be some sort of a warning to the crew that the altittude had been exceeded.
Idea was the chicken would suffer from the hypoxic effects long before the crew did.
Sounded like a stretch to me but maybe true.