Paramhansa Yogananda and the lineage of sent him to the West specifically came to expand the tradition of monasticism to include families. Yes! A yogi can have a family as witnessed by Lahiri Mahasaya.