It's not prohibited but may present a safety issue if you need to evacuate the aircraft and run across the tarmac or wherever you land. Be sure your feet are clean for the courtesy of others. The airline probably won't offload you over it, but the other passengers might consider it sort of gross.