Procedular Dirt, Grime, Scratchin similar to substance painter

Hi i want to ask if there is a way to generate procedular dirt, grime, scratch in ue4, based on world position of a mesh, and its “geometry”?
Something similar to Substance Painter masks. Whitch later could be used as a masks to blend materials?