Yes. Homemade chocolate pudding that is thickened with cornstarch is a gluten-free dessert. If you are adding bar chocolate or chocolate chips to give the pudding a rich chocolate flavor, be sure that those are certified gluten-free before adding them or just use cocoa powder.