The higher spren, I'd argue it would be inhumane to keep them trapped. But the lesser spren don't need things in the same way dogs/cats do, being chunks of pure Investiture, so I'm not sure this question applies to them, honestly. They get to do what they do, they're not in pain, and they're not stuck trying to travel to find what they're attracted to.