Can I specify runtime spawn boundaries with an image mask?

I’ve set up a procedural instanced static mesh placement system that will place an ISM anywhere within a given range of values. However, this is currently based on a center point and a radius to determine the range, thus restricting the region’s shape to a circle or square, depending on implementation.

Is there a way I could set the spawn region’s boundaries to fall within a certain zone based on an image?

Another way to look at this would be converting the 4.8 procedural foliage system to something that could be executed at runtime? I’m not looking to utilize all of its features so much as the layer mask portion.

If not using an image mask, is there a way to set region boundaries using math curves(or something similar)?

Does anyone have any ideas?