Heat olive oil in a large soup pot over medium heat.
Add chopped onion and garlic, sauté until soft and fragrant.
Stir in sausage slices if using, cook until lightly browned.
Add spinach, collard greens, and beans, stirring until the greens start to wilt.
Pour in broth and bring to a gentle boil, then reduce heat to low.
Stir in smoked paprika, pepper, salt, and chili flakes.
Simmer for 20 to 25 minutes until flavors blend and the greens are tender.
Add cream or coconut milk, stir well, and let simmer for 5 more minutes.
Adjust seasoning and serve hot with crusty bread or rice on the side.