There are vaults that offer gold storage were you can buy gold online and they will store it for you then you have the option to sell it through them or you can go to the vault and take your gold.

Is this permissible knowing that its mostly online?

There should be no problem in it as long as there is no illegality or corruption involved.