Adding an author to a conference paper only for sharing the cost of conference registation
Yes. This is unethical. Any paper author should contribute intellectually to the paper. Even if that is supervision where the supervisor sometimes gives high level guidance.