If the lift, clean, and place rule is in effect, you are allowed to clean your ball on the fairway. However, if you are just playing a standard round of golf where this is not the case, then you are not allowed to clean your ball on the fairway.