At most airlines, yes. Also managing all the boarding angst, complaints about overhead bins, etc.
How is that legal?
Not sure, though there is more to it. There's also usually a smaller hourly per-diem that isn't bounded by block hours. And seniority drives pay. If you stick to it, it does eventually pay higher than many other jobs that don't require a college degree.
Spirit probably isn't the best example either. Some other airlines provide much higher starting wages, and things like profit sharing.