There is nothing Adobe can do.
Example 1
Heading 1
Body text
Heading 2
Body text
Heading 3
Example 2
Heading 1
Body text
Body text
Heading 2
Body text
Body text
Body text
Heading 3
Body text
Body text
Body text
Body text
Body text
Body text
Heading 1
Body text
Heading 2
Body text
Heading 3
Body text
Body text
Body text
Body text
Body text
Now how on Earth would any script in the world be able to pick out what is body text and what is a heading, let alone the amount of paragraphs that it has or how many levels of headings it has.
It's a completely pointless script to write as it's completely impossible to achieve. InDesign is not an Artificial Intelligence. It doesn't have common sense, it doesn't have a mind of it's own. You, the user, have to tell it what style to apply where.
There are short cuts you can take for applying styles, like building them into the paragraph and character styles.
You are wasting your time going to adobe as I'm sure they won't get back to you.
They prioritise things that need to be done in InDesign by the amount of requests that it gets. As most people know, you can't autostyle a document, so it's on the bottom of there list as they have more pressing matters to deal with, like an indexing bug, grep bugs, et al type of bugs, it's pointless to even think you can, you're wasting your time and energy, it's like trying to invent perpetual motion, it's not physically posssible.
Just roll up your sleeves and start doing the work and stop waiting for a robot to come along, I don't mean to sound or come across as rude but I'm not, I'm trying to help, in trying not get you to waste your time.
I've told you how to do what you want to do and the only way possible, so either do it or don't.
What do you think is going to happen:
At the Adobe offices-
Employee "schnate (TechnicalUser) said in an email to us that we should have a style set that he can apply to the whole document so he doesn't have to"
Boss "oh that's a great idea, tell you what, stop fixing that indexing bug and get started on this task, it's much more important that the indexing bug"
Employee "right-o boss, I can't believe we didn't think of doing that in the first place"
Boss "I know, what were we thinking?"
Boss "Tell you what, lets release another version of InDesign for schnate (TechnicalUser) and sell it, CS3 will be obsolete for this feature that will barely work if at all"
You have to do the work, there is no Design My Document button, or do what I'm thinking of next button, or anything like that. Get stuck in, do the work and don't be looking for a magical fix that doesn't and could never exist.
I'm saying this to help you, not embarrass you, not to insult you, not to get your hopes down or any of those things, I'm saying this to let you know that you are wasting your time with this idea. It's been thought of before and it's not going to happen, not any day soon anyway.
Sorry for the long winded post, but arggghhhh... the amount of times I have to explain this to people, grrrrr it gets up my goat!!!