Yes, you can eat the roe or eggs of whole cooked shrimp. The roe is edible and adds a unique flavor and texture to the shrimp. Some people enjoy the slightly briny taste of the roe, while others may choose to remove it before eating.