Legal, yes. But it is unlikely you'll be able to register it in Alaska. I could be wrong, but not all states/provinces have figured out how to treat it. How is it registered, and what type of license do you need? Different depending on where you go.
For example, in Canada (last I checked, may not be current), in BC it is registered as a car. In Alberta, it is registered as a motorbike and requires the same license as a bike. In Saskatchewan, you can't register it yet (though I know of one person who used their Alberta company to register it for use on Sask roads).
Alaska is probably in the same state as Saskatchewan. Can't register it, so can't sell it.