Currently some Upjet generated providers (provider-upjet-gcp, provider-upjet-aws), but goes against HashiCorps policy:
Do Not Import Providers as Go Modules
Terraform's providers are written as Go packages, and they mostly use Go modules as their dependency management solution. This makes it tempting to import the provider as a dependency of your Go code, and to call its exposed interface. This is explicitly an unsupported way to interact with providers and provider maintainers make no guarantees around backwards compatibility or the continued functioning of code that does this.
https://developer.hashicorp.com/terraform/plugin/best-practices/interacting-with-providers#do-not-import-providers-as-go-modules
Currently some Upjet generated providers (provider-upjet-gcp, provider-upjet-aws), but goes against HashiCorps policy:
https://developer.hashicorp.com/terraform/plugin/best-practices/interacting-with-providers#do-not-import-providers-as-go-modules