I'm afraid not.
The registry must always be accessed through the Windows API functions and they do not provide such features. Accessing the registry files directly would be possible in theory, but that would be against pretty much all recommendations of good programming.