I don't think that's possible. When using electronic flash, the shutter speed only affects ambient light exposure, provided you use a shutter speed at or below the max sync speed of your camera.
If you want to use a specific aperture, then you have to modify either flash power or ISO
P.D there are some studio flashes that may take longer than the maximum sync speed of your camera, and in that case shutter speed might affect exposure, but it is not in a way to be able to use aperture priority.