Possible to generate Heightmaps within ue4? Without a third party program?

Trying to generate 8k by 4k heightmaps automatically via C++ or BP!

Would love to know if its possible or if their is a product that already exists for sale somewhere that could do it, thanks a bunch for any response!!!

What about?

Hey thanks that looks interesting ill check it out!