No, it is not bad to use a cover letter template. Hiring managers will not reject your application because it’s written on a well-formatted, professional template.
Just be sure that all the content of your cover letter is original, and targeted towards the company you’re applying to.