Shallots have a more delicate and sweet flavor than red onions. Also, they are usually smaller. So, when sliced, you will get smaller onion rings. You can use it to pickling, but the flavor would lose some intensity. Give it a try!