electric valvetrain?

Something that I had started thinking about 10 years ago, after some thought brought on by questions from my stepson. Why can't servos or solenoids be used for valve events? Could potentially be capable of infinite changes to lift, duration, timing, etc. to suit the moment IMO. Was just some brainstorming that I had, never followed up on it.