Hey Bhavya,
Yes of course, Exercises and yoga can help to keep you fit. They are meant to improve your endurance and power. Exercising is a great stress buster and the best way to stay fit and energetic throughout the day. You are likely to perform better in various other realms and will also be able to maintain a balance between work and health. Your conscious efforts will enable you to achieve your goals faster. So, even if you end up deterring a couple of times, keep making an effort until you succeed.