how to add custom structures with chests

I wanted to add a custom structure that has chests that have certain loot in them. Is this possible in a datapack

Continue to help post