It’s totally fine, and there’s no difference between working on the direct payroll in terms of employment, compensation, or benefits. Perhaps your beliefs and perceptions have an impact on job happiness.
So, if all other factors are in your favor, go ahead and take advantage of the chance.
Here you can find a variety of third-party payroll and outsourcing scenarios.