Is a homelab worth it for learning IT or DevOps?

Yes, and specifically because things break. Cloud tutorials hide the failure modes that interviews and on-call actually test: a full disk, a dead drive, a misconfigured network, a certificate that expired. Owning the whole stack means you debug it, which is the part that transfers to work.

More in What People Actually Run in a Homelab