Yes, you can use whole wheat flour instead of all-purpose flour in this recipe, but keep in mind that the texture and taste of the bread rolls may differ slightly. Whole wheat flour has more fiber and protein than all-purpose flour, which can result in a denser bread roll. You may need to adjust the amount of liquid used in the recipe to accommodate for the absorbency of whole wheat flour.