Yes, you can. I’d strongly recommend a very dark 60-70% cocoa chocolate instead; it will cut through the sweetness of the dish.