But since online poker winnings are technically illegal in the US, doesn't that invalidate any legal standing over them, similar to how gambling debts are unenforceable?
Online poker winnings are not illegal in the US. Playing online poker (or any form of gambling other than sports betting) is provably illegal only in a few states.
But in those states, perhaps. I never had to pay an attorney to review that :)