You can of course extend the stove pipe. Just make sure that if you extend it 500 mm to the side, for example, it must also be extended 500 mm upwards so that you have a clean air flow.