Tweaking Ore Generation

Hello fellow Datapackers. I am fairly new to making datapacks. I am more familiar with normal playing as well as ideas and similar. To jump to my question. I am trying to tweak overall generation of ores in Minecraft. It used to be simple, mod or two and all was done, now I have to drive it through datapacks. Basically, I am looking for someone who can explain to me if it's possible to alter generation of Deepslate layer, Stone layer and basically add noisy layers of granite, andesite and diorite as well as changing how ores are spawning. For example, I want coal ore to spawn more comonnly in certain biomes (wet biomes) and similar stuff. Any idea or lead would be highly appreciated as my testing data packs are failing to load and it frustrates me after so many tries. I have come only so far to basically learn how data pack structure looks like and used some online tools but none of them works inteded way.
Continue to help post