to some extent, yes.
trading is not a zero sum game, like poker (except in options, forex and futures). so, it is not true, as in poker, that every dollar in your P&L comes from somebody else's loss.
but with shorter timeframes, to include daytrading, it approaches the appearance of a zero sum game, since people are just gaming each other by flipping shares back and forth. but TECHNICALLY, it isn't
regardless, you can look at commissions as similar to rake. i am sure you will find that, with a discount brokerage, commissions are a much smaller piece of your profits getting eaten up than the rake charged by an online poker site, let alone a casino.
I was a successful online poker player up until my state made online gambling a C felony, and then I quit. later, congress passed legislation on it as well (but not making the mere playing of poker a felony, like my state did).
the similarities between the emotional states, and emotional mistakes you make in trading and poker are quite noticeable. in poker, you go on tilt. in trading, you do too - doubling down on a bad position etc. BAD IDEA
your poker experience should give you a good background to start. most traders don't fail because of analytical issue, they fail because of emotional issues - failure to understand risk control, money management and PSYCHOLOGY
just as psychology is a hyoooge aspect of poker, it is in trading.
understanding how the losing trader is thinking at any given time helps you be on the right side of the price action