Yoga is more than just the religious aspects to it. It consists of many asanas and poses with gentle to extreme intensity with each pose serving a different purpose. Some of these asanas may help you for better toned abs without risking your health.
Source: https://www.vinyasayogaashram.com/blog/yoga-for-abs/