Yes there is an option where you can simply zip the file and upload it to S3 and then state the S3 path.
1.You simply upload the file to S3.
2. Create a Lambda function.
3. Instead of uploading zip file select Upload file from Amazon S3.
4. Specify the path.
5. Select save and you are good to go.