Sometimes person does have detachment. One such example is saint Ramdas.

He was not ready for marriage because he thought marriage would not fulfill his quest for spiritual happiness. But his mother insisted.

He promised his mother that he would stand up on the wedding platform.

While marrying, a verse was said meaning that everything is auspicious, be alert and then he was to put garland to his would be wife.

At this point he thought the alert call was to him that if he got married, there was no scope for his spiritual adventure and he ran from marriage platform and worshiped God Ram and became a great saint.

It means anyone can take up the devotion to God.

Detached or Attached or liberated, sinner or no sinner, Lecher or Murderer or pious person, Male or Female or Transgender, Any religion, Any caste, Any nationality,

All living beings...In short everyone can take up devotion to seek spiritual happiness.