Preheat your oven to 375°F (190°C).
In a large pot of salted boiling water, cook the pasta until just under al dente, as it will continue cooking in the oven. Drain and set aside.
In a large skillet, cook the ground beef over medium heat until browned. Drain excess fat.
Add the chopped onion and garlic to the beef, cooking until softened.
Stir in the diced tomatoes, tomato sauce, heavy cream, oregano, basil, red pepper flakes, salt, and pepper. Bring to a simmer.
Add the cooked pasta to the sauce and stir to combine.
Transfer half of the pasta mixture to a baking dish. Sprinkle with half of the mozzarella and Parmesan cheese. Add the remaining pasta and top with the remaining cheese.
Bake in the preheated oven for 20-25 minutes, or until the cheese is bubbly and slightly golden.
Let the pasta bake cool for a few minutes, then garnish with fresh basil before serving.