It is permissible for a Muslim to donate blood only if it would not be used for cosmetic reasons.
As for bone marrow, it is possible with today's technology to use the patient's bone marrow to produce new bone marrow. If in a particular situation, this is possible, then it will not be permissible to use another human's bone marrow. However, if the doctor advise for a new bone marrow, then it will be permissible.
(Aap Kay Masa'il Aur Unka Hal 10/174)
And Allah knows best.
Ask Alimah Team
Note: The rulings giving herein are based on the religious rulings of the Islamic Law and do not have any implications on the Law of the Country. The rulings given hereunder are specifically based on the question posed and should be read in conjunction with the question. IslamEasy site bears no responsibility to any party who may or may not act on this answer. IslamEasy site being hereby exempted from loss or damage howsoever caused. This answers may not be used as evidence in any Court of Law without prior written consent of the web site.