It should be possible. If you have access to some leftover emissions parts you could use a vacuum sensor on the outlet from the front axle motor though an electric switch on the dash to trigger a pair of vacuum solenoids to engage the transfer case motor.
At rest the solenoids engage 2wd mode at transfer case, and when the switch is turned on by the vacuum signal from the front & the switch is on, it energies the solenoids so that 4wd is engaged. That way the transfer case can never shift until the front axle has been engaged. You need to use two solenoids (they come as three anyway) so that the motor can vent when it moves.
It could also power a convenient front axle is engaged indicator. The 4" switch closes (connects) when vacuum is applied, and it'd be perfect for this. If you use the 10" switch on the transfer case motor front axle port it will light up when it's in 4WD mode, but without a vent in that motor I'm not 100% sure that it will always turn on. (If I'm reading the
select shift digrams correctly.)
It's a lot of vacuum hose and wiring, but foolproof for the operator.