Legally, you can purchase & own a gun in Australia. But there are conditions attached. Key ones are that you need to be over 18 and have no criminal record.
But I think the situation is more complicated that owning a gun.
I know you don’t have a total prohibition. I’m just one of those crazy Americans who thinks that self-defense is a primary issue in regard to all forms of assault.