Yes, you can use the same amount of dates as sugar, but you must make them into a paste in the food processor. Add 1/2 cup of pitted dates in a food processor and puree until a paste form. Proceed with the recipe.