WADA rules do not ban a drug just because it is performance enhancing. Otherwise caffeine would be banned.
Two out of three factors have to be present to ban a drug:
- be performance enhancing
- present a health risk
- violate the spirit of sport
The third one is a bit harder to define but there is a WADA code defining the spirit of sport.
Most banned drugs are banned because of the first two.