In particular a MrCool. This guy says yea, but, gotta wonder does it affect the warranty in any way. If so, what primer/paint did you use and has there been any problems associated with it.
https://iwae.com/resources/videos/can-paint-mrcool-diy-air-handler-ask-expert-episode-140.html