Yes you can get temporary cucstody but you should definitely consult a family law attorney
https://www.inmateaid.com/ask-the-inmate/how-can-i-get-temporary-custody-of-an-inmates-child-if-he-is-willing-to#answer
Accepted Answer Date Created: June 01,2016