Being cared for by conscientious humans, providing enrichment and variety, can be better than living in the wild. For any animal, living in the wild, life span tends to be short, and life tends to be brutal. Prey animals are hunted, and they scrounge for food; finding a steady, reliable, nutritious, and tasty source of food in the wild is vanishingly rare. Dealing with parasites, illness, injury, predation, and all the other stress and constant threats to life is why wild animals are dangerous. Peaceful, fulfilling, life is incredibly rare.
It's even incredibly rare for humans - we're currently in an age of plenty and abundance, with more people living better lives than at any other point in the history of our species.
Overfishing and the geopolitical nature of enforcement and exploitation aren't something we can affect at an individual level, but these aquarium staff are doing a good thing, making a pretty good life for a sunfish. An actual companion would be better, but as long as the cutouts are triggering relief for whatever social needs being affected, that's a good deal for the sunfish.