Yes, but it is not recommended as it may make it more difficult to remove the compost when it is finished. It is better to leave the pipe in place but not fixed, as this will allow for easy removal of the compost and adjustment of the pipe as needed.