Yes you can. I tested it with both, and the whole milk ricotta is definitely richer tasting, creamier and preferred in this recipe. Part-skim ricotta works well too and just tastes a bit lighter.