2 Tim 4v2
Preach the word; be instant in season, out of season; reprove, rebuke, exhort with all long suffering and doctrine.
Titus 2v15
These things speak, and exhort, and rebuke with all authority. Let no man despise thee.
There are others, I know, but the answers are yes, Pastors are allowed to discipline members, as that is part of their job. The discipline is laid out in the Word as well. Reprove and rebuke.
1 Corinthians 5 also speaks of this.
1It is reported commonly that there is fornication among you, and such fornication as is not so much as named among the Gentiles, that one should have his father's wife.
2And ye are puffed up, and have not rather mourned, that he that hath done this deed might be taken away from among you.
3For I verily, as absent in body, but present in spirit, have judged already, as though I were present, concerning him that hath so done this deed,
4In the name of our Lord Jesus Christ, when ye are gathered together, and my spirit, with the power of our Lord Jesus Christ,
5To deliver such an one unto Satan for the destruction of the flesh, that the spirit may be saved in the day of the Lord Jesus.
6Your glorying is not good. Know ye not that a little leaven leaveneth the whole lump?
7Purge out therefore the old leaven, that ye may be a new lump, as ye are unleavened. For even Christ our passover is sacrificed for us:
8Therefore let us keep the feast, not with old leaven, neither with the leaven of malice and wickedness; but with the unleavened bread of sincerity and truth.
9I wrote unto you in an epistle not to company with fornicators:
10Yet not altogether with the fornicators of this world, or with the covetous, or extortioners, or with idolaters; for then must ye needs go out of the world.
11But now I have written unto you not to keep company, if any man that is called a brother be a fornicator, or covetous, or an idolator, or a railer, or a drunkard, or an extortioner; with such an one no not to eat.
12For what have I to do to judge them also that are without? do not ye judge them that are within?
13But them that are without God judgeth. Therefore put away from among yourselves that wicked person.
If the person does not accept the rebuke and change, the discipline extends to putting them out. It is a rare church or pastor that is prepared to do this.
Personally, I feel it is required. A pastor is a guide - and a guide is no use if he does not tell you when you are heading the wrong way. i know that without the discipline of my (ex) Pastor I would not be as strong or as well-founded as I am now. I'm no artwork but without reproof and rebuke I would still be doing many wrong things (some sinful, some not).