Sure, if you have beekeeper protective gear on!!!! I went down to hit a bucket of balls from the tennis machine and had to leave, bombarded by carpenter bees (with shiny as hell abdomens hunting me down!)
I know EarthImage said they don’t sting, but I didn’t want to hang around to prove him wrong. Look at the number of holes the carpenter bees have made in just one post of the tennis court fencing. You can see the holes even better in the video.