Is it safe to use rectal suppositories?

Yes. It is usually safe unless one is on chemotherapy for cancer or has some underlying immune deficiency. An inadvertent injury as the suppositiory is inserted could result in infection or worse.