Should be fine, as far as I know - my parents and friends sent me candy using Royal Mail a few times when I lived in the US: a chocolate advent calender for Christmas, Creme Eggs for Easter etc. They sent it via ground shipping though (because it was cheaper than airmail), so it took about 6 weeks to arrive!