There is a person who made such R2-D2 with "white chocolate". Reported by Canadian media So Delicious.
According to the media, "Eatable R2-D2" was created by Fernando Arreola. He is a pastry chef at Hotel The Fairmont San Jose in California, and created the work in collaboration with the Star Wars exhibition at the Museum The Tech, opposite the hotel.
The "Eatable R2-D2" weighs a whopping 150 pounds! It's unclear how many kilograms the real R2-D2 in the movie weighs, but it could be heavier.
By the way, the Star Wars exhibition at The Tech is being held until February. R2-D2 has been displayed in the lobby of the hotel since December, but I'm wondering if it's still there, if it's already eaten, how it tasted, how many people ate it, and so on. By the way.