The DOACs don't have any known food interactions except grapefruit, and grapefruit interacts with darn near everything.
It might be a concern if you were taking allspice as a supplement or something, but a teaspoon or two in an entire cake or batch of cookies? Nah, no problem.