Power Apps are meant primarily for internal business users with appropriate licences, but it is possible to share an app with licenced, external users or through a Power Apps Portal.
For selling apps, that's handled primarily by marketing Solutions as a Microsoft Partner. Purchasers of your app would need to ensure they have the necessary licencing to run the app and maintain user access through their own tenant.
Hope that helps,
_________________________________________________________________________________________ Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.