Yes, but you'll have to use more lemon juice as lemon extract is more concentrated. For every teaspoon of lemon extract, substitute 2 tablespoons of lemon juice. Just be aware that because this is more liquid, it may slightly affect the texture of the dough.