Get an Android device.

Install F-Droid.

Have a wide array of apps that are free as in beer as well as in freedom.

You don't have to use rent-seeking proprietary junk. There's alternatives out there.

F-Droid can not work in the future. Android is controlled by Google. It already tries to block sideloading apps.

You can always install GrapheneOS or LineageOS - those are still Android, but not controlled by Google.