That’s a good idea.
Less practical: the group I ride with did a 200km ride, with one member having a nice shiny case attached to his bike where the pump might go.
When they finished he smoked his cigar.