Can an app's bundle id be changed before first upload?

When I created my app's identifier, I entered a typo in the bundle id that I didn't catch. I then created a new app in iTunesconnect, associating the app's name with this bundle id.

Just now I finally saw the typo and I'd like to fix it (for various reasons, having to do with Firebase, iCloud containers, etc...)

Can I change the bundle id of an app if I haven't yet uploaded a build of it to iTunesconnect?

Alternatively, can I create a new app (with the correct bundle id) and transfer the app name from the existing app to it?

Thanks!