I've been at a company for 5 years and have 4 different titles. I feel like it is distracting to show 3-5 bullet points for each - maybe just 5 total and also save more room for previous experiences, side projects, and volunteering?
For resumes, I think it's better to just compress everything to the latest, most impressive title. Yes, this is a bit deceiving, but I'm sure companies can figure it out, and if people ask (like during the behavioral interview), you can clarify. Resumes need to be super tight and dense.
For LinkedIn, I think you can break down all the roles separately. They natively support this, and it looks slick in the UI. LinkedIn is the platform where you just jam as much stuff as possible.
If the vast majority of your professional experience is at this company, then the majority of your resume should cover those 5years.
The hard part is that no one will read more than 4-5 bullet points per experience. So in order to get the "credit" you deserve from the many role changes/promotions you had at the company, I'd split it up into at least 2 periods:
This way you get 2 shots on goal to discuss what you've done in company A.