Yes, for a lot of recipes you can use ricotta instead of cream, and sometimes the other way around. For this Lemon Ricotta Pasta I would not recommend using cream instead of ricotta.