No. There is no episode of Robot Chicken in which Scooby-Doo uses a firearm. The series parodies many characters, but this specific scenario has never been depicted in the official series.
Any such depiction would likely be from a fan-made video, meme, or misremembered scene.