If she violated actual laws or ethics requirements, your agent can file a formal complaint. We went that route when we bought a house a few years back for some fuckery. Entering a property without permission is certainly one of those things.
The inspection stuff is probably just weird negotiation hardball that they definitely couldn’t win in court with, but were hoping you’d cave and give them $$ back to avoid the fight. Shady for sure, potentially still legal.
If like above, an agent makes a claim that is untrue that loses the sale, they can be liable for damages. Saying things like, “this won’t handle the snow load” without an expert report in front of you is a HUGE no-no. Same for inspectors that recommend solutions to issues. If they aren’t licensed in the area they really should keep their trap shut.
I have a RE license and like 90% of the training is basically how not to get sued, but people still screw that part up