Is it ethical to be very nasty to a witness or victim at a preliminary hearing for the purpose of having the victim overreact to the lawyer at trial when the lawyer is not treating him or her in the same mean way?

The question is an interesting one since it does go into tactics. Presently, this question would most likely not arise, because at most preliminary hearings, the judge is not going to allow a lawyer to be mean or treat badly any witness.