Absolutely! Great observation. But it's still unfortunate whenever any animal is killed by motor vehicles. People, too.
In addition to maybe keeping boars away - another aspect of them hanging around roads that I saw mentioned is the presence of roadkill as a food source attractant for the bears. Bears are always ready to take advantage of an easy meal.
When I read the notice of the accident with 399 another thing unusual was the accident happened south of the town of Jackson. That 399 was that far south from the Yellowstone/Teton eco-system is kinda unusual I believe. An indication that the grizzly population is expanding due to bear population density in the parks.