Absolutely not, that is a felony. It is against the law for any correctional employee to have a sexual relationship with an inmate
https://www.inmateaid.com/ask-the-inmate/can-the-deputy-warden-can-have-sexual-contact-with-an-inmate#answer
Accepted Answer Date Created: July 13,2019