No, it's not possible to incorporate CP Solver into a GAS project.
CP Solver can be installed to your computer by downloading it, and the suggested installation of CP Solver is run using Python.
Apps Script can't communicate with your computer, and it can't run Python code.
CP Solver is a Constraint Solving program.
If you can find a
Constraint Solving
REST API then Apps Script could access it by using UrlFetchApp.fetch(url).
Or if there was a open source JavaScript
Constraint Solving program that could be adapted to working in Apps Script,
that might be a possibility.
I can't find a
Constraint Solving
REST API.
There is an NPM
(JavaScript) Constraint Solver.
And I found a typescript
Constraint Solver.
But I have no idea how much work it would be to modify that code for use in Apps Script.
Apps Script actually has a linear optimization service.
Linear Programing is slightly different than Constraint programming.
If the
Constraint Solving code took more time to run than your run time quota limit for Apps Script,
then it would "time out" (end before it completed).