An old carpet can work as an underlayment, however, it is not a permanent solution. The old carpet will eventually compress and will need to be replaced over time.