You’re basically right - github pages is super limited. It’s good for publishing text conveniently.
Netlify is every bit as convenient, without the drawbacks. You could also use an S3 bucket, or self-host if you like. Personally I used to use S3, and moved to netlify.