Yes, it is safe to do yoga in periods. But avoid doing inversion yoga asanas during periods.