Not truly happy but happy enough when cared for well. What is true happens anyway? They are intelligent for sure therefore they may feel happiness too but I think happiness for most animals are simpler than what you consider happiness and often short lived or limited to things like there is food or a place to hide or a nice other fisto mate with.
the approach is wrong. Not knowing better doesn’t make it right.
Imagine a chicken lives in a cage. It lives there since it was an egg. It can’t stand up because the cage is small. Is it right to put it in that cage? Is it happy? is it morally ok to put the chicken in that cage? Do I need to continue?
Aquarium is a cage and fish in it may newer new better but morally may not be right to keep them there. I am guilty as you are as I have aquariums nearly 40 years and the best I could do is look after them.
having said all of that I totally agree buy captive bread fish if possible because that is the only sustainable and environmentally friendly way to do so but not because of that is morally ok.
Don’t fool yourself. We have heard this before about dolphins. Than it turned out to be false. (Politely put) Just saying most of the fish we keep have a shorter lifespan in the aquarium.
I doubt my aquarium has educational benefits too. Show off yes educational well that is debatable. I educate my children that this is a fish and this is what it does and the benefit is that they don’t tap on the glass or put a slice of bread in it

is it educational?