Sure. All DVDs are “data” DVDs (there’s essentially only one format, unlike CDs), but yeah. The best proof against loss is redundancy. Use high quality DVDs. Make two copies, store each in a different place.
There are cheap DVDs that may have problems in a year or two, and high quality DVDs that may be good in 100 years, if stored in the dark. Flash memory is probably good for about 10 years, if it doesn’t get too hot. Nothing much out there that lasts forever.
Hard drives are pretty good, too. The main issues with HDDs are not the data storage per se. Will the mechanicals still be good in 10 or 20 years? Probably… if you’re storing them and not running them constantly. But there have been issues, like “stiction” — the lubricants have, at least in the past, hardened when not used. And of course, “format rot”… will you still be able to read these in the future. USB is a good bet for longevity — there’s no much reason for it to be replaced large-scale.
-Dave