In short, not really. When tested for protection against UVB radiation only, many plant oils provide an SPF of <8.[1] These oils can be incorporated into commercial sunscreen products to help the overall SPF rating, but on their own they are insufficient for UV protection. Be aware that some of these plant oils can be potentially allergenic and may cause skin irritation (such as dermatitis) in some individuals.[2][3] Sunscreens are formulated using specific ingredients in specific amounts in addition to employing manufacturing methods to help ensure that these UV-protective ingredients are evenly distributed throughout the sunscreen. This process is very difficult to replicate at home.
Sun protection factor (SPF) values of plant oils
Adapted from Kaur and Saraf. Pharmacognosy Res. 2010.[1]