You can, but you will have to weigh out the amount of flour needed in grams using a kitchen scale. Changing by volume will lead to adding too much flour since oat flour is significantly lighter than both all-purpose and whole wheat flour. If you just use 2 cups of all-purpose flour, you might need to add 1/2-1 cup more milk to the recipe.