TNG is basically soap storyline A bolted to techno-babble storyline B.
When you do get an ethics based storyline it's a real novelty and usually rather tedious.
Blake's 7 and Farscape however do that sort of thing in a much more nuanced and satisfying way.
However as a piece of entry level philosophy this is actually a good read.