Can I create multiple landing pages for the same service/product on my website without negatively impacting SEO?

I’d like to target different keywords or audiences with slightly different messaging on each page, but I’m worried about potential issues like duplicate content or keyword cannibalization. Has anyone successfully implemented multiple pages for the same offering, and if so, any tips on how to structure the content to avoid SEO penalties?