Yes, there is nothing illegal about what Swagbucks offers. They are an affiliate marketer, sharing their commissions with their audience.