Alpha in custom render pass

You can use the Movie Render Graph for this.