You can put many wigs in a ponytail, but not every wig will look natural pulled high. The nape and hairline have to support the style.
Best ponytail wigs
Full lace wigs, 360 lace wigs, and well-made lace fronts with good nape coverage are better for ponytails than basic cap wigs.
Safer everyday option
A low ponytail or loose claw-clip style is easier because it hides the nape and puts less tension on the lace.
Bottom line
Yes, a wig can go in a ponytail, but the higher the ponytail, the more the cap construction matters.