Night Light Clip In Cord Incandescent to LED & Safety
Yes it's safe. 

I've done the same thing with several decorative accessories that use C7 night light bulbs.  Our items are turned on 24/7, the bulbs have been burning 3 years now.