Yes, the flower of the cornflower plant is edible - they’re often used as a garnish. They have a moderately spicy yet sweet taste.