In short, you would have to train the Tesseract engine to recognize the handwriting. Take a look at this link:
Tesseract handwriting with dictionary training
This is what the linked post says:
It’s possible to train tesseract to recognize handwriting. Here are
the instructions:
https://tesseract-ocr.github.io/tessdoc/Training-TesseractBut don’t expect very good results. Academics have typically gotten
accuracy results topping out about 90%. Here are a couple references
for words and numbers. So if your use case can deal with at least 1/10
errors, this might work for you.
Also here is a good academic article written on this subject: