There is a direct connection.
Antonin Scalia was one of the architects of substantial limitations on the 8th amendment and was a key figure in a number of cases specifically about extraordinary rendition and "enhanced interrogation."
Scalia has multiple times in public referenced Jack Bauer as an argument for why prohibitions on torture are unworkable. At a panel on the very topic, Scalia responded to "Thankfully, security agencies in all our countries do not subscribe to the mantra 'What would Jack Bauer do?'" with "Jack Bauer saved Los Angeles" and "are you going to convict Jack Bauer?"
Christ, what a ghoul.
"The ends justify the means" is a horrific way to run a society in any case, but of course it skips over the question of whether the means actually caused the ends, let alone were the only way to do so. Even if torture did save lives, it isn't a great justification - but then pile on top that your only evidence that it actually does work is fiction and it starts to look like the means were what you really wanted in the first place.