Yes. Some years ago I thought I was flying JFK-BCN through MAD. Was very surprised to find out that my flight was JFK-MAD only. Apparently when I booked the ticket I told the agent "through MAD" and the agent booked me "to MAD." I never realized it until we landed in MAD and I had no BP for BCN!