I've implemented this [github.com] in TOPs as a render post process. It's definitely possible. In TOPs you can also train your own ML models similar to what sidefx has done with their ML Terrain research.
It's not inbuilt, but you can integrate it very well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.