Edible? NO! Don’t eat 'em and avoid inhaling the spore dust! Cut one outdoors (wear a face mask and gloves). If the inside is dark or sooty, or consists of tiny granular packets, it’s a dyer’s puffball / earthball. You can leave them in your yard. They are harmless outdoors and can even be mycorrhizal with plants.
True edible puffballs are pure white and uniform inside when young. Here is an example Calvatia gigantea aka giant puffball: