Provided one can go through the silliness of fitting golf balls into planes, or going through the algorithms and data structures books from 30 years ago.
At work we do both. If you pass the somewhat artificial interviews we invite you for a trial week of 3-5 days working with the actual team on actual real work (a somewhat contained feature or problem).
Lets us evaluate people in real conditions and visa versa.
In Germany for example, that isn't allowed, and there is the whole insurance discussion if something happens to someone that shouldn't be there as employee in first place.
It also works for people willing to take time off (PTO or otherwise). We do lose some people who aren't willing to do the trial, but that's considered acceptable. People who do the work trial and accept an offer are much more likely to stick around (much lower rate of mistakes on their part and our part.)
I'm laughing a bit at Germany, but Europe in general has lost the plot when it comes to innovation.