Uhhhh, yeah. A very old old problem with many established solutions: Roll up the leg, put a strap around the loose pant leg, or a gaiter, chain guard, zip off leg pants etc...
The electric skateboard looks like it'd be fun though, in the right environment.