Yes, it's easy and safe if competing traffic is only fellow truckers or other level-headed, observant drivers.
It's when you mix in the distracted, newbie, or skittish drivers that things get difficult. Long-haul truckers (the majority, the good ones) develop a sixth sense about such risks; I can't imagine thoroughly coding a software replacement.