If your cool bag/box is within the size limits for your airline's cabin bag allowance, then there's nothing to stop you taking it as hand baggage. (See your airline's web pages for permitted dimensions). The 100ml limit on liquids will still apply.
I know a couple who do this when they holiday in the Caribbean each year, and it's a very handy thing to have for days spent at the beach.