You can, and it's perfectly edible but doesn't taste as good as freshly fried halloumi. Cooked halloumi will keep for up to 3 days in the fridge. It's safe to eat it cold, but warming the leftover halloumi in the microwave for 20 seconds will vastly improve its taste and texture.