Histogram equalization

I am working on a project using AI edge impulse to detect an actual rat. My supervisor suggested using histogram equalization in the raw images I obtained. However, edge impulse does not seem to have this feature. I was thinking of using OpenCV as it can do histogram equalization. Is it possible to add the histogram equalization block from OpenCV to Edge Impulse?