I made a dog biscuit cookie years ago:
If I remember correctly, I piped a thick border around the edge of a tan-flooded cookie. I piped the words with stiff-consistency icing. Then, I textured it by applying bits of stiff icing and dabbing at them with a paintbrush until the texture was uniform.