Do you have to beat the elite four to catch rottom on Pokemon diamon?

No you can catch rotom in the big mansion on eterna forest and try to find a tv and knock it then rotom will appear [you will need cut]