For most modern guys, yes, but there are still a lot of other uses for a hammer. Whether it's just not worth it to break out the nailer, or light demolition, or aligning framing elements, etc. Personally, since I moved into my property a few years ago, I frame about 50 linear feet per year, which is next to nothing, and I still preemptively went out and bought an electric nailer. No clue how the old school guys did it and maintained feeling in their arm.
you realize hammers are used all the time in carpentry still. what do you do if your gun doesnt sink the nail? or the boards didnt fasten tight together after nailing. or you need to pull a nail. or wedge or lever or...