Detailed idea description
I suggest adding a new custom enchant, one that has a chance to spawn ores when you mine with a pick, e.g. around 10% coal 5% lapis 1% diamond 3% gold 8% iron and of course with a toggle-off option because not everyone may like the feature (I would suggest making it on moon lapis because it's not very valuable right now)