Although I have not tried, I assume that this is not possible. To use .net 4.0 builds, an application using your moss site must be upgraded to asp.net version 4.0. After that, the version of system.web and other builds will change, and I think the moss just stops working. But hey, this is just my guess. You can always try it.
source share