Changing block hardness with a datapack

I've done a little digging and as a few years ago this didn't seem possible in a datapack. Have things changed? Is there a way to change the "hardness" value of a block using datapacks nowadays?

Continue to help post