Restrictions are for the purpose of the treatment. For example you are diabetic and you want to intake sugar- it wont help you certainly in managing the condition. Therefore, you need to restrict yourself. This is the reason in Ayurveda treatment there are some restrictions on diet and lifestyle.