I don't believe there was any risk to safety whatsoever, but in today's world of anal security + health + safety rules, it was ill advised and unprofessional.
Personally, when I attended my local airport as a 15 year old kid for a week of 'work experience', I was allowed to make similar transmissions under guidance and following a 'script' from the controller looking after me. Some might say they were the best transmissions I have ever made