Yes, it is possible. There are various ways it could be done, and some are easier than others, and some are more ‘automatic’ than others as well. I won’t go into all the different ways, but I’ll just lay out the principle of how it could be done in a generic way.
The first thing that would need to be done would be to go through each chapter of the book and make a list of all the kanji taught in the chapter. One list of kanji for each chapter.
Note: Doing all of this in a spreadsheet would make the whole process much easier. Though, it could all be done by hand, too.
Next, you would need to look up the WK level assigned to each of the kanji (this is the part that could be automated, but could also be done by hand) and add those levels to your lists, making the list into a table, something like this:
Chapter 1 Kanji
Kanji
|
Name
|
WK Level
|
戸 |
Door |
3 |
子 |
Child |
2 |
... |
... |
... |
Then, it would make things more simple/efficient if you sorted those lists by WK level in ascending order. For the simple list above, that would just amount to the following, but in general you just want all the WK levels that are the same lumped together, and each lump in ascending order:
Chapter 1 Kanji (sorted by WK level)
Kanji
|
Name
|
WK Level
|
子 |
Child |
2 |
戸 |
Door |
3 |
... |
... |
... |
Then, to get the percentage table, you need to do a little bit of prep work to get things started. First, for each Chapter, and for each WK level within that chapter, you need to count the number of kanji of that level. [Note: Sorting the previous lists by WK level will make this counting process much easier, hence why I suggested sorting.] Perhaps you could make a separate table just for this counting purpose, again, one for each chapter, like this:
Chapter 1 Kanji Counts (by WK level)
WK Level
|
Number of Kanji
|
1 |
11 |
2 |
7 |
3 |
4 |
... |
... |
... |
To that table, you want to add a ‘running sum’ or ‘running total’ which has the cumulative number of kanji for all the levels up to and including the level on that row. For example:
Chapter 1 Kanji Counts and Running Count (by WK level)
WK Level
|
Number of Kanji
|
Running Count
|
1 |
11 |
11 |
2 |
7 |
18 |
3 |
4 |
22 |
... |
... |
... |
|
Total:
|
31 |
Then, you’re almost done (for this one chapter). You now make one more column and calculate the (Running Count) / (Total) for each row. This is where using a spreadsheet will save a lot of headaches, as they can quickly do such calculations with a few clicks and simple formulas. The result will look something like this:
Chapter 1 Kanji Counts and Percent Completions (by WK level)
WK Level
|
Number of Kanji
|
Running Count
|
Percent Complete
|
1 |
11 |
11 |
35.5% |
2 |
7 |
18 |
58.1% |
3 |
4 |
22 |
71.0% |
... |
... |
... |
|
Total:
|
31 |
100% |
In the above table, the 35.5% comes from taking 11/31 × 100% = 0.3548387 × 100% = 35.48387% = 35.5% (rounded). Likewise, the other numbers are 18/31 and 22/31. Just do that same calculation for each WK level.
Notes: Technically, you could do this without creating the full list of kanji at the beginning, matching the kanji of each chapter with the kanji of each WK level. Instead you could “just count” the kanji and create the Kanji Counts tables directly. However, you (probably) want to create the full lists before the Kanji Counts, because it will be much easier to keep everything organized and make sure you end up with the correct counts. It’s far easier to check your work if you’ve got a list of all the kanji and just count items in that list, rather than having to go through the book and the WK website just to check that Chapter 1 indeed has 11 kanji from WK level 1.
Also, if there are content changes to WK (which happen fairly regularly), you can much more easily just update your master lists and then do a quick re-count and re-calculation than to have to re-do the entire process to make sure you didn’t miss anything.
This last part (updating based on WK content updates) is where you could really start to get into automation and have your system regularly download all the relevant information from WK using the WK API, but that is much more complicated to get working and requires programming knowledge. Really, the only truly manual part of this whole process is to go through each book you want to do this for and create the list of all the kanji it has in each of its chapters. Everything else could technically be automated to instantly produce a full table from that information. But of course, programming and setting all that up requires a lot more work ahead of time. A hobbyist programmer might find that a fun and challenging (and practical) project to try out, but for most people, I think it would be overkill.