Hypotetically speaking (since you're not asking for specific details), it is possible. However it is not 100% reliable, and there are always workaround.
First, if your secure data is 1-8 bytes, and you run on x86, you can set a hardware breakpoint which will be triggered when this data is accessed. See. for example, https://github.com/mmorearty/hardware-breakpoints
If you need to protect more than 32 bytes (there are 4 hardware breakpoint registers), you can use VirtualProtect with PAGE_GUARD, or make the page unreadable (PAGE_NOACCESS).
When you need to access the data yourself, you remove the flag/breakpoint, access the data, and restore it. This of course creates the race condition, but the window of opportunity is short.
Of course if someone has an application with a kernel driver, they can remove the hardware breakpoints or change your application page flags through the kernel driver, so this will not work. However if they only use the driver to hide the application, this should work.