I'm not sure yet how you will end up doing this, but will say that I find having a hydraulic thumb is worth the effort. For an older guy, the BH and thumb is incredibly useful for picking and placing anything.
I guess the first place to start is with the factory mechanical thumb. Does yours have that? Looking at the photos of the
BX23S with mechanical thumb, I don't see any reason why it could not be made to be hydraulic....but the fact is that Kubota didn't offer that and that should give us pause.
There will be sizing the cylinder to give the thumb a proper range of motion. For that, it will help to have a
BX23S with the OEM mechanical thumb for making measurements of open/close length and pin size. If it were mine, I would start by mounting the OEM mechanical thumb and then mocking up a cylinder out out of PVC pipe, cardboard, and gorilla tape. There are probably some mechanical guys who can get it right the first time with measurements and pencil sketches - but for the rest of us a model works better.
When it comes to hydraulic hookups, there are several people here who can help. I believe you will be happier with the result if we have access to the hydraulic diagrams in the shop manual. A parts manual for fitting sizes helps too.
The thumb will have it's own control valve and also its own relief valve. The latter is generally set so that while the bucket rotation is overpowering the thumb there is a unrestricted path for the thumb cylinder fluid to exit to the tank.
While we are on that subject of tank return, you should leave your tank return line as it. The tank return flow is under very minimal pressure and you want to maintain that condition. Otherwise you get back flow in the tank line which leads to all sorts of odd control valve problems. So you don't want to be interrupting that tank line - also called the return line - with a valve. We will have to get the necessary thumb pressure from somewhere else in the system. Expect that the thumb control valve will have it's own return line, although it can be short and is often dumped directely into the main BH return line if the hose is sufficiently large.
We can kick this around some more as we get more info.
Good luck,
rScotty