Short answer: yes, but not really. and it wouldn't be as great as you probably think.
Long answer: It's theoretically possible, but it would take a long time to implement, time which would be better spent on other things. And once it was implemented, it probably wouldn't be nearly as nice as you think.