Brown the sausage (and ground beef if using) in a skillet over medium-high heat, 6–8 minutes. Drain excess grease.
Add onion and cook 3–4 minutes. Add garlic and cook 30 seconds.
Stir in marinara (and crushed tomatoes if using), Italian seasoning, pepper, and red pepper flakes (optional). Simmer 5–8 minutes, then remove from heat.
Mix ricotta, egg, parmesan, Italian seasoning, and a pinch of salt and pepper.
Spray a 6-quart slow cooker with nonstick spray. Spread 1 cup sauce on the bottom.
Layer: ravioli, dollops of ricotta mixture, a sprinkle of mozzarella, then repeat. Add spinach in layers if using. Finish with sauce on top.
Cover and cook LOW 3–4 hours or HIGH 2–2½ hours, until ravioli is tender and center is hot.
Sprinkle remaining mozzarella (and optional parmesan) on top. Cover 15–20 minutes until melted. If casserole looks loose, vent the lid slightly for the last 10 minutes.
Rest 15–20 minutes before serving.