If you have a high-speed blender like a Vitamix, or a grain mill, you can make your own chickpea flour by grinding dried chickpeas until fine. Just make sure to plug your ears, it's very loud at the beginning :)
If you don't have a cast iron skillet, you can cook the onions in a regular skillet and bake the socca in a baking dish.