Yes. One of the many aspects I don't like about the court system is that it is gives barristers a platform to showboat and try to show how clever they are. They can ask smart-arsed question but the witness can't respond in such a way or else they'll be told "I ask the questions here" and the judge/magistrate will reprimand them and tell them to "stick to the facts, not your opinion."
Is this in real life or on TV shows?
I was a jurer on a murder trail and your betrayal couldn't be further from the truth. The barristers were extremely professional and asked very detailed questions.