Clearly not. Buddha was a monk, but Shiva – regarded by many as the father of yoga – had three wives. (This was not unusual 7,000 years ago). Swami Vivekananda was a monk, but my own Guru, Shrii Shrii Anandamurti, was married. And many great spiritualists were women, such as St Theresa of Avila (a nun) and Anandamayi Ma (who was married).