I'm sure it's common, but I'm equally sure it's not really adequate, especially in commercial/industrial environments. Does "replacing like with like" include recognizing that the lighting is supplied with 277 volts and requires a suitably-rated switch? Is somebody in for a big ugly surprise when they've developed a habit of replacing switches without locking out/tagging out the power source? (or worse, deliberately doing it hot because they've been shocked with 120 volts many times in the past and don't think it's a big deal)
Older buildings present other variables. I've seen an ungrounded three-way switch replaced with a grounded single-pole switch. "Like with like", right? Unhook three wires from three terminals and reconnect them to the "same" three terminals on the new switch. It's fortunate that plaster and dry wood lath are non-conductive.
The church of my childhood had a volunteer "general maintenance person" whose "free" services cost them a bundle. He didn't understand zoned hydronic heating, and when a solenoid valve failed, he "saved money" by replacing it with a pipe tee. Before his fix, only the office was heated 7 days/week. After his fix, the auditorium, meeting hall and classrooms were also. The gas bill tripled, but nobody was supervising him, he didn't even report what he as doing, and the business committee didn't have the expertise to connect the dots if he did. It was the 1970s and they just shrugged it off, assuming that the price of natural gas had gone up like the price of gasoline.