Work During Hospitalization Leave

I am currently on hospitalization leave from the 2nd December to the 23rd December. I would like to know if I am allowed to go back to work on the 19th December, even if the surgeon told me to go back to work after the 23rd?

Some company disallow in order to ensure the safety of the employee. As long as your company allows, you may go back to work earlier.