Both Canada and Sweden have legal gun ownership, but they have extremely tight regulations. So there's a model there.
But Canada keeps gun legal mostly for their hunting hobbyist. I don't think you can own handguns.
You can own handguns in Sweden, but their regulations are really strict.