No, as long as you are registered to a casino that itself is legally allowed to service players in your country, poker is not illegal online or in any other form if covered by a gambling license.