Is there a name for this form of sampling?
It is called resampling and is quite famous for dealing with imbalanced datasets. See, for example, https://www.kaggle.com/rafjaa/resampling-strategies-for-imbalanced-datasets for implementation.

Congrats on good intuition!