Yes, “Get well soon” is a polite expression to send a person who is suffering from something temporary. However, it is not appropriate to send it to a person who has a terminal illness.