You can not apply for UK citizenship without ILR.
This below is from the home office website.
You can apply for British citizenship by naturalisation if:
And you must usually have:
There are different requirements if your spouse or civil partner is a British citizen.
You can’t include any time spent in the UK when you’re exempt from immigration control (eg as a diplomat or member of visiting armed forces) as part of the 5 years.