U can accept the offer. But sometimes,i am not saying always there might be project which need something extra from u that means more working hours and all that stuff. u might not get time to study.
There are some eg,some of my batchmates done like this. 2 years in infy and then he went for MBA.
Basically u have to maintain the balance and project depents upon luck