Some dealers deliver to home. I bought a car through TrueCar back-end (the front-end was my credit union who did the financing) with dealer delivering it, so sorta kinda possible.
Tesla has managed to get around these laws.
Tesla is selling direct. Amazon (like carOrder.com and others before them) is attempting to compete directly with the existing intermediaries. Different regulations.