You can certainly overcome that edge by being more skilled than your opponents (which is a nice difference from most other casino games), but over the entire population of poker players, playing poker is a losing proposition.
In the eyes of a casino, there is no difference in running a poker game or any other game (except possibly that poker is a pretty expensive game to run, compared to how much you can rake without it being obvious that the rake is significant, as it has fairly slow rounds and few participants per staff needed to run it).