Can you substitute whole eggs for egg whites in baking?
It will definitely make a difference. Yolks contain various things like fats and emulsifiers that affect the flavor and texture of baked goods. 

If you want more details, then tell us what you're baking.