At a minimum: Inform the moderators of the subreddit(s) you are planning to use and get consent.
Ideally: Ask the members of the subreddit for permission. Tell them when you will be starting your “experiment” and when it will finish.
What’s the hypothesis you are testing? What’s the benefit for them taking part?