Hi there!
There is no rule or law that would say you shouldn't apply for a different position at the same company. So you definitely can and should apply again, especially if you feel like you're a good match.
To get an invitation to a job interview this time, be sure to do update your CV and Cover letter. Include skills suitable for this job and emphasize your strong points that could be useful for this position..
Keep in mind that in average, only 1% of all the people applying for McKinsey get hired.
While waiting for the reply, don't forget to prepare: study your cases and run interview simulations - alone, with a study-buddy or find a coach. Always be ready and believe in yourself.
Do you have any questtions? I'll be happy to answer them.
Aim high!
GB
(edited)