Absolutely. Supposedly her demeanor was wildly different whenever Trump was in the courtroom. I have seen that before in depositions, meetings, etc., but to do that in court is insane. Judges hate that crap, and even jurors will pick up on it.
In a very slight defense of Habba, I could not imagine trying to represent a client like Trump in court (or anywhere else for that matter). It's possible that she felt she had to act like that whenever Trump was in the courtroom else who knows how he would act or what he would say in open court if he felt she was not being aggressive enough.
Similar to doctors, one of the jobs of a lawyer is to try to make sure your client doesn't dig themselves a deeper hole than they are already in - i.e., protect the client from themselves. Combine that with the normal desire to please your client, and it's a recipe for disaster. There was simply no way Habba was going to stand up to Trump, even when it was for his own good.