Yes, you can carry limited amounts of dry ice, but only if used in packaging to keep perishables frozen.
Dry ice is a hazardous chemical and there are restrictions on carriage to prevent harm to persons, property or the plane.
You will be asked to relinquish all dangerous or prohibited items found in your carry-on luggage. If you refuse:
We x-ray bags going on planes to make sure there is nothing dangerous in them. If something comes up on the x-ray that needs checking, the bag will be opened, searched and any dangerous or prohibited item will be removed.