There don’t appear to be any countries where taking coffee on a plane is banned, but each country has its own flight rules, which could change at any time. Therefore, it’s best to research the rules in advance so that you’re not taken by surprise.