***Neither a teacher nor a native speaker.***
At least my favorite dictionary lists this idiom.
So I believe it's used...
By the way, in German we would say, "To kill two flies with one swat."
(Its meaning is the same as the original English idiom.)
Cheers!