Yes, you can cook pasta in sauce, as long as the sauce is very thin or has water added to it to thin it out. As long as the pasta has adequate liquid and stays submerged during cooking, it can be cooked in sauce, broth, or even the liquid from canned tomatoes.