AAS increase hemoglobin. This means greater endurance during aerobic exercises such as long distance running.
If you sprint, which is considered anaerobic exercise, it will increase the strength, speed and force of your muscular contractions making you quicker.
So yes, they can be used for that. It depends on your goals though. Pack on a ton of muscle mass, and don't expect to be able to jog long distances.