You could probably get away with going all of the way up to the brick on that side of the boiler and still be safe, but I would leave the distance in front of the burners about where it is. Keep in mind that the carpet will most certainly get wrecked some day when something develops a leak, or when the relief valve pops off, or when someone needs to replace that pump.