Yes. Most online casinos will ask for your social security number when you create an account to verify your identity and age. Licensed casinos won’t pass on sensitive information to third parties.