It’s becoming possible with use of webkitdirectory.
<input type="file" webkitdirectory directory multiple />
Supported since Firefox 50, Chrome 30, Safari 11.1, Edge 14, but not on most mobile browsers as of 2019: https://caniuse.com/#feat=input-file-directory