It's probably legal, but that doesn't make it a good idea. In my view, doing more than two 1-hour flights a day (one lesson, perhaps the other one focused on skill enhancement) would be detrimental to your progress. Doesn't sound like a serious training syllabus to me, more like a quick way to relieve you of your money.