Yes, I believe so.
The data is very, very complicated, but from what I've seen, there's very little evidence of a valid gun deterrent effect while there is slight evidence of the efficacy of gun bans.
But to me, this question is rather like the question, "Can I cut down a tree with a sledgehammer?"
Sure, probably, but it's messy, excessive and not the right tool for the job.
The best ways of controlling for gun violence, as with any kind of violence, is to deal with socioeconomic and racial inequality and resentment, have appropriate conflict-resolution systems and mental health screening and treatment, and otherwise control the roots of those problems. The sociological evidence is very strong on that front.
Targeted gun regulations would ideally let us keep a reasonable deterrent value from guns while also making it very difficult for guns to be used for criminal ends.