At present, when a company recruits employees, it is generally required to issue a recent medical certificate. If there are infectious diseases or diseases that affect their normal work, they will generally not be admitted.
If there is really a serious illness, I think it is more practical to look after the illness first and then find a job, whether for the health of the company or employees.