Yes.
In fact this is exactly what I was working towards a few years back but was told 'it was too hard, impossible, etc.' by our 'programmers' and some outside consultants, as well as by Microsoft, but let's not go there.
Let this be lesson to us all: if you have a 'crazy' idea that seems impossible, do it anyway. Especially if you are drunk and it makes perfect sense that you should be able to fly off the roof and land safely, do it. Especially if you're Enron.