Yes, if the destination isn't a maintenance base that stocks the part that fails. It's happened to me - 45 minutes into a 1 hour flight they decided to turn around and return to our departure airport. It's very annoying.
The problem is that some failures mean the plan can't fly again until the part is replaced, and sometimes it's cheaper to turn around than to have the plan sit idle until they can get the replacement part out to it along with someone certified to repair it.