You're right, but do people really make money with apps (except a few lucky ones that are "too big to ban" anyway)?
It's possible to build Android apps without having a Google account, but distribution (and getting money) is going to be difficult. For me it's not a problem I'm the sole user of the apps I made and I use a GrapheneOS phone without Google Play) but it's an unusual setup.