Heat cooking fat in a large pot over medium-low heat. Sauté the onion and carrot for about 3-5 minutes to soften. Add the broccoli florets, and continue to cook (stirring occasionally) for 5-7 minutes, or until the broccoli is slightly softened and turning bright green.
Sprinkle coconut flour over top of the veggies, and stir to coat. Pour in the chicken broth, and stir. Bring the soup up to a boil, then reduce the heat to a simmer. Cover the soup, and simmer until the broccoli is tender, about 10 to 15 minutes.
Season the soup with salt, garlic, and black pepper and stir in the coconut milk. Blend the soup until smooth using an immersion blender, standard blender, or food processor (in batches if not using an immersion blender).
Add diced ham to the soup, and heat over medium-low until the ham is warmed through. Serve hot.