For sure.
Regardless of whether you screw or nail, you've got to use the one that is designed for the job (that's why we all have dozens of bins/jars full of nails, screws, bolts, etc. :))
FWIW, I typically use screws unless its brad nails for very light stuff such as trim.
I've even been...