No, it isn't - I'm not aware of any law that automatically allows you to retain an attorney without having to pay them. You can certainly seek pro bono representation through legal aid or a private attorney, but they would have to agree to represent you for free. If they won't, then you'll have to hire an attorney and pay for them directly.
This answer is not to be considered a response to a specific legal issue in a specific jurisdiction - it is to be considered only a general response to a hypothetical scenario posed by the questioner. For specific legal advice, please consult with a licensed attorney in your jurisdiction.
A weekly guide with tips and legal advice for each stage of the process.