Yes, pillow humping is safe as it is dry humping without any penetration. The pillow is soft, which means it will not bring any harm to the body. Humping the pillow does not come with any risks of pregnancy or sexually transmitted diseases. If you are practicing pillow humping with a partner, you should both discuss your STI statuses.