It is indeed possible with configuration profiles. Let's say you, by default, are set to the laptop layout, but want to use the desktop layout in a certain app. Just create a configuration profile while in the application you want to use the desktop layout in, then press Control+NVDA+P. Press Alt+N for the new option, then choose the option for the current application. Then, configure the layout and other settings as needed. Save the settings with Control+NVDA+C to be on the safe side. And, that's it.