It seems unlikely that this really occurred to nobody at all. It seems so obvious. So I'd imagine that this was brought up at various points but others would rationalize it away somehow saying things like "God wouldn't let that happen" or "a good person wouldn't lie just to stop pain" or coming up with ways of telling when confessions are fake based probably on some manner of superstition. Or if assuaging concerns about a specific person's confession bringing up points against their character.
But what I want to know is whether any sources referencing discourse or any writings or essays discuss the concern that torture could cause false confessions and especially anything where it shows others responding to those concerns with rationalizations in favor of torture.
I answered a very similar question 9 months ago. The Spanish Inquisition did not have any trust in the effectiveness of torture as means of extracting confessions, as explicitely stated in articles 49, 50, and 53 of the Instructions of the Inquisition. I leave you here my answer: