It could be, depending on the mammal and the conditions. I don't think there's any feasible way to keep an orca in acceptable conditions in captivity, though.
Convert WS lagoon to a salt water habitat and buy out Sea World. Orcas get tons of room and a big Stargate hoop to jump though - it’s a win for all!
... joking aside, it’s a complicated matter compounded by the fact that it’s not likely viable to return these orcas successfully to the wild. Many were born in captivity and literally know no other way. Mistakes were made in the past, but I don’t think boycotting their current management makes amends for that and may actively hurt the long term care of these individuals. I think their ambassadorship is an important role, which can also be said for many of their land mammal counterparts over at AK.
It’s a nuanced subject for another thread.