pretty sure gourds like this are in the C. pepo species. the flesh is likely bitter (and poisonous), but the seeds should be edible. and they make a decent soft-sounding rattle when dried.
I've seen edible ones almost like these, from a friend who is mixing genetics, but he is sure to taste them all before saving seeds and growing them on, because you wouldn't want those poisonous bitter cucurbitacea genetics in your garden.
One of those pretty ones poisoned a soup i made, one bite and cured forever.
Creating edible biodiversity and embracing everlasting abundance.