Not smart. You could go to jail for illegally discharging your firearm.
Depends on where you live. The Second Amendment protects people's rights to do this. Firing shots into the ground or into an embankment harms on one. It would be for sound effects.
If you live in a city, an HOA (as I do, unfortunately, but it keeps property values stable), or similar jurisdiction or quasi-jurisdiction, there could be laws against this, depending upon the jurisdiction. But otherwise, it's your prerogative.
My father heard some juvenile delinquents on his front porch many years ago, stealing porch furniture as a prank. He ran after them and had a fall that left him disabled. I told him all he would have had to do, would be to fire some rounds from a .22LR pistol into the ground, and they would have dropped the furniture and run like scalded dogs. Instead, he ended up in the hospital and they ended up in my father's living room, blubbering about how sorry they were. "Sorry" didn't heal my father's injuries --- he has problems to this day. As far as I know they continued to collect their welfare checks.