You can, but I highly recommend getting hold of vanilla extract or vanilla bean paste if you can. Vanilla essence is typically made with artificial ingredients and won’t give your cookies that strong vanilla flavour we know and love.