You can make your own edible cooking dough. You just have to pasteurize the eggs and flour. If I'm not mistaken, I think the flour is more dangerous than the eggs.
There are even shops which sell edible cookie dough pre-made if you'd prefer the convenience.
https://www.canada.ca/en/health-canada/services/general-food-safety-tips/safe-handling-flour.html