Is a general planning framework a good choice for route optimization?

Yes for getting a working planner quickly, and yes if you need to write arbitrary custom constraints yourself. It becomes a constraint on plan quality and response time once the problem is large or the answer has to arrive while someone is waiting, because the framework owns the solution representation, the move evaluation, the move selection, and the run loop, and those four decisions are most of the performance of a routing search.

‍