Not really. Typically your CI/CD pipeline would use the Serverless Framework only at the very end to handle deployment and updating infrastructure needed by the functions. This means you need CodePipeline, CodeBuild and CodeDeploy setup first.
I would create another project using CloudFormation or Terraform to create your CI/CD infrastructure.