Yes, internally displaced persons can be adoptive parents if they are registered with the children's service at their place of residence.
You can get registered by contacting the relevant service with the necessary package of documents and a conclusion on the possibility of being adoptive parents.
You can also use the "Adoption" service on the "Diya" portal (https://diia.gov.ua/services/usinovlennya-reyestraciya-kandidatom) in order to register candidates for adoption.