Can I organize Service Provider files into sub directories under the Providers directory

This works:
File at: app/Providers/NewsArticleServiceProvider.php

In app.php :

'providers' => ServiceProvider::defaultProviders()->merge([
  App\Providers\NewsArticleServiceProvider::class,
  App\Providers\ThemeServiceProvider::class,
])->toArray(),

I would like to do this instead but it does not work:
File at: app/Providers/PostTypes/NewsArticleServiceProvider.php

In app.php :

'providers' => ServiceProvider::defaultProviders()->merge([
  App\Providers\PostTypes\NewsArticleServiceProvider::class,
  App\Providers\ThemeServiceProvider::class,
])->toArray(),

Is there a way to organize the service provider files into subdirectories like this?

That should work. Did you update the namespace?

That was it - thank you!