In this recipe, coconut acts as an add-in, but also helps to create the texture of the cookie itself. You can leave it out, but you'll need to replace it with something with a similar texture, like oats or finely chopped nuts.