Sustainable biomaterials for pharmaceutical and medical applications