How Effective is Shadowing for Learning Pitch Accent?

I heard that only absorbing Japanese material doesn’t really help with pitch accent, but if you’re shadowing and actively repeating what a native speaker is saying, then wouldn’t that help a little with pitch accent?

Any information is appreciated. Thank you in advance!

by Nabaseito