How can I create a recommended project in the root directory?
If wwwroot is empty you can simply run the following command from inside this directory.
composer create-project drupal/recommended-project .

The . at the end says: current directory.