fly.io (upto 8CPUs + 8GiB) and stackpath.com (upto 8CPUs + 32GB) both can run such workloads at the Edge. That said, AWS Fargate and AWS Batch (minus the Edge) are probably comparable services to those than AWS Lambda.
I used StackPath's Serverless functions once before and they worked as advertised (but since moved to Cloudflare Workers).