Not really. They put dogs under for xrays because they need the dog to be still for the xray. If your dog was elderly or had some specific reason that anesthesia was high risk, I'm sure they'd consider alternatives.
I've never heard of pets being anesthetized for microchips and I've had chipped pets since the late 90s.