It is a thing; unfortunately it's not officially supported but I also find it crazy that so many developers are fine doing dev directly on "the cloud", as if that's a reasonable use of their time.
https://github.com/lambci/docker-lambda
https://github.com/localstack/localstack