You can use various oils like palm oil, jojoba oil, soybean oil or vegetable oils in place of coconut and olive oil.
To get your own homemade soap, you can put the soap into a mold and freeze it for 24 hours. Air-dry the soap for about 3 weeks to finish curing them.
The process of making glycerin involves exposure to high temperature, so make sure to use a facemask and goggles and wear long pants and full-sleeve tops.
If any of these mixtures, come in contact with your skin any time during the process, flush the affected area with cold water and reach out to a doctor if required.