Yes - doing this is quite ugly, electrically, is all. Dimmable LEDs, etc. do this same thing (with the load supply, not a separate line - you couldn't get away with this on a fan.)
I've only ever been on the software side of the world, so I don't doubt you. It's clearly hackish and might not play nicely with a multi-location switch loop either. I wouldn't be surprised if the NEC has some objections as well :-)