Yes, you can use the __all__ attribute in a package's __init__.py file to define the names that are exposed when the package is imported. This allows for a more controlled and explicit interface for the package.