Clarify what you mean by a "WinUI" app.
If you mean a traditional Win32(64) program that has
WinMain, WndProc, etc. then yes you can use MFC classes
such as CString.
You can easily prove it by using the VS template to create
a Win32 app and add code to the generated program to create
and use one or more of those MFC classes.
- Wayne