In a large skillet, heat the olive oil over medium heat. Add the finely chopped onion and sauté until soft and translucent, about 3-4 minutes.
Add the minced garlic and ground beef to the skillet, breaking the beef apart as it cooks. Season with salt, pepper, dried basil, oregano, and red pepper flakes. Cook until the beef is browned, about 5-7 minutes.
Stir in the diced tomatoes and bring the mixture to a gentle simmer for about 5 minutes.
Add the orzo pasta to the skillet, stirring to combine. Pour in 2 cups of water or broth and bring to a boil. Reduce the heat to low and cover the skillet. Cook for about 10-12 minutes or until the orzo is tender and most of the liquid is absorbed. Stir occasionally to prevent sticking.
Once the orzo is cooked, reduce the heat to low and stir in the heavy cream. Mix well until the cream is fully incorporated and the sauce is creamy. Adjust seasoning with additional salt and pepper if necessary.
Allow the mixture to simmer for an additional 2-3 minutes until heated through.
Remove from heat and serve hot, garnished with fresh basil leaves.
Notes
Adjust the red pepper flakes for desired spiciness.