Granted. An NPC will give it to you after you defeat her, saying "hold this Pokeball while I fix my hair". And after you take 3 steps she'd come and take it back, saying "Thanks for trying to run away with my 'mon, ya &%*¥$€!" Also, if you have a Pokemon with Fly or Teleport in your party, she wouldn't battle you, saying "Are you one of those noobs who run away without leaving any money?"
I wish the Pokemon Online Android client were somewhat more usable...