No. That is not currently possible. The reason is that WAB 2D currently uses the 3.x API and 3D uses 4.x. The sample in the 4.x samples can switch because it only uses the 4.x API. WAB has yep to solely uses the 4.x API due to all the features that are yet to be implemented. Once the APIs have reached pairity then this will be possible.