That is absolutely true.
I don't want to minimize torture, so please, everybody, read this carefully! What I'm going to say is to ADD to Nova's comment; please don't think I'm comparing torture to interrogations.
Many people who have made confessions which were ultimately determined to be untrue have later stated that they confessed because "that's what they wanted to hear." They are being interrogated, usually for hours on end, they are exhausted but don't know how to stop the process.... and the ONLY way they can see to stop the interrogation is to tell the interrogator what he wants to hear.
I've noted that many people who have made false confessions are also on the lower end of the IQ bell curve, or challenged by mental issues. Even then they often resist the pressure for many hours before they finally "confess."