As long as the imprisoned parent/loved one is allowed access to the child they want to do it for, then they can apply. Although the scheme is primarily for parents, most prisons allow other family members to participate including grandparents, siblings, aunts and uncles.