As long as you are not exploiting your employer's sick leave and sick pay policy, you can do anything that your health allows you to do. For example, if you have a tension headache preventing you from going into work, there is no legal obligation that means you must stay at home all day.