Your employer may be able to dismiss you because of your sickness absence, but they should follow a fair process.
Most absences are managed without the need to escalate matters to formal meetings or warnings. However, your employer is likely to deal with matters formally if your absence levels present an unacceptable level of disruption to the business.
...