Unfortunately matching next table is not an option the full list of options is here.
But when you create static routes including those with next table option you can attach a community. Then you can reference this community in the policy to select the route.