Anyone can get a book published if it's any good. Age should not be a barrier. However, at the age of ten I doubt whether your cousin has developed the wit or wisdom to produce anything commercially viable. I may be wrong, she may be a literary genius but the odds are against a publisher taking her seriously.