That is what I have been doing basically my entire life. My pre-workout meal is about an hour to an hour and a half before workout.. and it contains whey protein, slow digesting carbs, and healthy fat. Then post workout is just whey and fast acting carbs.
But I watch all these videos of people like Jay Cutler, and Phil Heath and they are taking things like dextrose before, during, and after workout.