WinGet's CLI supports multiple repositories, and by default should contain the msstore repository, which should allow you to install applications from the Microsoft Store. However, some editions of Windows do not come with the necessary dependency for this repository preinstalled. Of note, I believe this applies to LTSC and Server, and of course, IoT. The dependency is App Installer.