Ofcourse yes! There are no food restrictions except for things that get stuck to the braces like sticky chocolates and too much cheeze. Sticky chocolates will become a little tough to clean and braces might come out while trying to clean it.
For many new age dental braces like clear aligners like invisalign, there is no food restriction at all! Since you actually have to take them out while eating!
Talk to your orthodontist to get all proper guidance and care.