I've not heard of that being done, but it works in principle. If the flue runs through conditioned space it adds a modest amount to the heat load though, with cool combustion air pulling heat from the masonry on it's way to the boiler. Most sealed combustion systems have air intakes that are far shorter than a flue, often routed solely in semi-conditioned space such as unfinished basements.