Is it safe to fill in or insulate the space in my walls around my fireplace flum?
Usually, no combustible materials are to be placed within 2" of fireplace vent pipes or chimneys.  We usually use something called Rockwool in these instances.