To me, the main idea of punk was do-it-yourself, which meant that you could basically do anything that you would wanna do. You don't have to wait to be allowed to do it. Anarchy was more or less about the same thing, so for me they were closely related.