Yes it can .. but only when you use external lighting.
For all intents and purposes doing this with either Shutter or Aperture priority or full Manual makes no difference.
But this statement also needs to be qualified with a caveat that your choice of camera will also determine the subtle differences between how each shooting mode operates.
Most importantly is the requirement to fully understand your cameras metering system and what each different metering mode does.
It's been said previously, but needs to be re-iterated again. Your choice of metering mode is more important than your choice of shooting mode(except when external lighting is used).