Is it possible to add a Lifecycle configuration in an existing S3 Bucket?

Hi! I would just like to ask if it is possible to add a Lifecycle configuration to an existing S3 bucket by adding it to the serverless resources and redeploying? The existing s3 bucket was also created via serverless deploy. Thanks