You can, but it won't have the same concentrated flavor as dried dill weed. If you're using fresh dill, use double the amount called for in the recipe and then let it sit after mixing to allow the flavors to develop.