White onions can be pickled in the same way as red onions. These onions are stronger and more pungent than red onions, so you probably want to let them rest 24 hours before serving though, to allow them to mellow out.