Training a Variational Autoencoder (VAE) for Random Number Generation
You are describing surrogate modelling.
Because your situation is well studied, I recommend looking at what others have published. See, this paper for example.