Is there any straightforward way to replace notepad.exe in Windows 11?

I found that uninstalling the Windows Store Notepad app reverted the Win10 and older behaviour.