Cross account API Gateway

Is there a way to use an existing API gateway on a different account and have the lambda functions be deployed on a different account all specified in a single yml file?