Of course, you are allowed to write the comments yourself. However, it is recommended that you buy real YouTube comments from a reputable source.