Not necessarily -- you can create a profitable exchange by having a standard taker fee or commission. That's how exchanges have made money since the dawn of time and there's nothing wrong with it.
The issue with FTX etc is that they didn't segregate their revenue model from their customer accounts. That's a no-no not only from a legal perspective but from a risk management perspective.