As @allObjects says, I think it's a bit too tight.
You probably could but I wouldn't advise it.
The other thing to think is that if you're adding clamp diodes to each pin then that's 8 separate diodes. Personally, I think it'd be more simple to just use a single driver chip.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As @allObjects says, I think it's a bit too tight.
You probably could but I wouldn't advise it.
The other thing to think is that if you're adding clamp diodes to each pin then that's 8 separate diodes. Personally, I think it'd be more simple to just use a single driver chip.