Careful with the flower tho, that can get you e coli. But: you can bake it in the oven on it's own to sterilize it. Then you've got yourself safe to eat raw flower
Most people aren't aware of why cookie dough can be risky when raw, including the vegan poster here. As long as its not in bad faith its okay to be wrong. Vegans can learn new things too.