Yes, you can substitute whole wheat pasta for regular pasta. Keep in mind that whole wheat pasta may have a slightly different texture and flavor.