Yes. Any player can try to count cards at online casinos. However, each platform will have measures that ensure a player cannot succeed with this gaming strategy.
Getting caught might leave you with a ban from playing in the casino.