AWS Lambda can run via a custom docker image now. I use this strategy for deployments and local testing. The Official docker images have a built in emulator called REI for testing locally. It even estimates billing.
Using these Docker images works well to emulate the Lambda environment for sure. It just falls short when I want to trigger that through, let's say an SNS topic or an authenticated API that my frontend application can connect to.