no. There isn't a known way to make goodberries last longer. You can try to get really creative, but the dm will likely honor the 24-hour rule unless the timer is extended with magic.