Yes you can take protein powder prior to a workout and it will work just as effectively in providing all you need to boost lean muscle development.
It does not matter greatly if you take your protein before a workout or after, but nobody wants to feel bloated or suffer cramps during a workout.
The effectiveness of protein intake pre-workout or post-workout is generally the same, however there are other factors to consider.