While a prison sentence does reduce an individual’s rights quite significantly, it doesn’t strip them of all of their rights. Issuing a power of attorney to their confidant is one of those rights.
An inmate can file a power of attorney document from jail without any legal problems. They will, however, need help from their friends, relatives, and possibly a notary public to make that happen.