Not sure why you would want to, not like you need to do much split shifting.

However, the answer is yes if you want to.
You would either replace the vacuum valve (on the frame under the cab) with an electric valve or rig a solonoid to switch the existing valve.
You would then install a small solonoid behind the dash to shift the 2 speed speedometer drive at the same time to keep the speedo in sync with the rear end.
Currently those functions are done by mechanical linkage from the under dash switch.