Nope. There was a great submission a few years ago about a guy who applied to two categories of jobs: management and software development.
In the SD roles, everything was oriented toward rejecting him. Any possible "red flag".
In the management roles, the interview was focused on finding areas where he could contribute to the company.
Whiteboard interviews are a problem in and of themselves, and the propagate terrible attitudes into the rest of the interviewing process.
If communicating ideas is part of your job, I'd bet any amount that you decide what ideas you want to communicate well before you do the actual presentation (or other physical delivery of the ideas).
When I get hired this way, I always feel a little bit of guilt because I know they actually hired somebody else.
What can be done? I’m not sure, but I can say one thing: my level of discomfort is multiplied by the number of strangers in the room. Does this ever get considered with interviews?
I am far more comfortable coding in front of 1 or 2 people who each give me a little bit of background about their coding experience; just so I know. If they are experienced engineers, it’s probably not going to change what I say aloud, but it just makes me more comfortable. I guess more overlap of technologies in our background does help. It’s nice to not feel pressure of worrying if my solutions reflect general programming conventions enough to be language agnostic. I have never really used Java, for example.