This was debated here ar great length a few weeks ago, and it is abundantly clear that a hydraulic handbrake is NEVER legal for road use, and is unsafe. It is also not as easy as some people, clearly with no proper knowledge of hydraulics, seem to imagine, to incorporate a hydraulic handbrake into the existing rear brake system.
Just don't bother trying it, the extreme cost and efort required will only guarantee an MOT failure, and prosecution if Plod stop you for a check of the vehicle, as well as virtually guaranteeing disaster the first time that you park for any length of time on a steep hill.
The standard handbrake system, like all such systems, has been designed to incorporate sufficient stored energy, in the stretch of the cables, within their elastic and fatigue limits, to keep the brakes on despite temperature changes. That is a legal requirement. How would you achieve it in a hydraulic system?
The first fundamental rule of engineering, violated only by idiots, is "If it ain't broke, don't fix it". The standard handbrake system is not broke, so don't be an idiot and try redesigning it. Just restore it to its proper condition.