You could say that
Trek had unfair advantages. Better FX budget, the Paramount lot, RSC actors. The acting on B5 is wildly uneven: the regulars are good. The villains of the week are dreadful.
Hot take:
Trek also benefits from a writer's room, whereas B5 is the work of one guy. And protection from editors is not always a good thing. There are scenes where characters stop and quote pop philosophy to each other. Sometimes it works:
https://youtube.com/watch?v=ZjToVZTqCbw
And other times you get this:
For god's sake, man. Gimmie a chance to absorb your coffee-table wisdom before dropping another bomb on me.
On the other hand, B5 had perks that Trek didn't have. The megacorps, for starters. Which gave us "commercial teeps" (Talia) and the riveting stuff with Edgars on Mars.