You can set a Keep Option as part of a paragraph style that tells ID where to start the paragraph -- anywhere, next column, next frame, next page, next odd/even page -- and what additional text before or after the paragraph should be kept with it, but that's the extent of control you would have with styles.
Thank you for your reply.
Yeah I gave up after searching for a long time with no result. Doing it manually now
Can you clarify what you mean with "moving around"? Headers are plain text, and they "move around" with the text they are in. Do you possibly mean to "reorganize" your document, moving headers and their associated plain text around?