That really depends on the facility and the instructor.
At South Hill, for instance, the last thing we did before closing the inaugural Vickers AK class was picking up the brass.
If the range and the instructor don't prohibit picking up brass, I doubt anyone is going to start throwing rotten fruit at you. ;)