There was just another thread on this same topic yesterday, and the answer is yes, in general.
AnaRosario is correct that this depends on you - most people can do it in that amount of time - people who hike slowly for whatever reason may not be able to do that. But search the archives, and you'll see lots of discussions about it.
Personally I think you're rushing it a bit - the hiking time is fine for an average person, but to fly in and out that quickly, with no cushion in case you want to take a side hike, spend an extra day somewhere, or spend more time in Santiago, gives me pause. I'd try to push back the return by a couple of days - then if you end up with three days to see Santiago and the area around Santiago, how horrible would that be?
If you really cannot extend your trip and end up behind schedule (which is totally contradictory to what the Camino should be about!), then there's always the possibility of jumping a stage to catch up, or walking a stage and a half one day and catching a taxi over a part of the 2nd stage of the day. The purists would boo and hiss at the idea of not walking every cm of it, but it is possible, and you'd still have walked more than the distance necessary to claim the compostela.