No to blind shots. Only in entertainment.
There are so many ways that officers die impulsively going into dangerous situations, but that's what they do. It's why that are there. The dangerous situation with unknown risks are also risks to possible secondary persons.
A pair of officers responded to a call about an out of control nut running around a neighborhood, and engaged in foot pursuit.
The guy had disconnected his oven, the house was full of gas, he detonated it as the officer entered. Every interaction with the public involves risk, every situation can turn south,firing bullets blindly into Windows puts every person down range for hundreds of yards at peril.
One of the deepest questions in philosophy is whether or not we must refrain from action unless it benefits every person involved. Blind shots kill people every year.
Imagine, your friend has hung his jacket over a tree because of heat. On other hunter is working the area. The vest is hidden. Your partner farts, the other guy thinks that it's a buck grunting, and empties his thirty rounds at the sound,ripping holes all through your partner.
There is absolutely no difference between that scenario and firing at broken glass. A swat member may have gotten behind the house and is lined up with the line of fire.